home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / editor / lmns02mn.lha / Luminus / Luminus.doc next >
Text File  |  1996-01-07  |  157KB  |  3,891 lines

  1.                                    Luminus
  2.                               Version 0.2 (Beta)
  3.  
  4.                         Written by Paul A. Schifferer
  5.  
  6.         Copyright © 1996 Gandalf's Middle-Earth Software Wizardry Labs
  7.                              All rights reserved.
  8.  
  9. Terms
  10.  
  11. You may copy and distribute verbatim copies of the programs' executable code
  12. and documentation as you receive it, in any medium, provided that you conspic-
  13. uosly and appropriately publish only the original, unmodified programs, with
  14. all copyright notices and disclaimers of warranty intact and including all the
  15. accompanying documentation, example files and anything else that came with the
  16. original.
  17.  
  18. You may not copy and/or distribute these programs without the accompanying
  19. documentation and other additional files that came with the original.   You
  20. may not copy and/or distribute modified versions of these programs.
  21.  
  22. You may not disassemble, decompile, re-source or otherwise reverse engineer
  23. the programs.
  24.  
  25. You may charge a fee to recover distribution costs.  The fee for diskette
  26. distribution may not be more than the cost to obtain a public domain diskette
  27. from Fred Fish.
  28.  
  29. Disclaimer of Warranty
  30.  
  31. THERE IS NO WARRANTY FOR THE PROGRAMS, TO THE EXTENT PERMITTED BY APPLICABLE
  32. LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING, THE COPYRIGHT HOLDERS AND/OR
  33. OTHER PARTIES PROVIDE THE PROGRAMS "AS IS" WITHOUT WARRANTY OF ANY KIND,
  34. EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  35. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.   THE
  36. ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAMS IS WITH YOU.
  37. SHOULD THE PROGRAMS PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  38. SERVICING, REPAIR OR CORRECTION.  
  39.  
  40. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
  41. ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY REDISTRIBUTE THE PROGRAMS AS
  42. PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
  43. INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
  44. THE PROGRAMS (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
  45. INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
  46. PROGRAMS TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
  47. PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  48.  
  49. Introduction
  50.  
  51. I got to writing Luminus as a request from my wife, who enjoys designing ANSI
  52. pictures and animations, and after using TheDraw on her MS-DOS machine, found
  53. no suitable alternative for the Amiga.  The few programs we ran across were
  54. sorely lacking in features and/or friendly operating interfaces.  As I have
  55. recently learned, there are actually quite a few available, but alas, none
  56. that suit her particular tastes.  And so was born Luminus.
  57.  
  58. Luminus' features include:
  59.  
  60. - Operates in any display environment (supports any screen display available
  61.   in the display database).
  62.  
  63. - Amiga User Interface Style Guide compliant.
  64.  
  65. - On-line help (requires AmigaGuide).
  66.  
  67. - Built-in ARexx(tm) and Workbench App support.
  68.  
  69. - Supports all ANSI BBS codes.
  70.  
  71. - Ability to load and save IFF and ASCII/ANSI files.
  72.  
  73. System requirements
  74.  
  75. Luminus requires version 2.04 or higher of the Amiga OS.  It is designed to
  76. take advantage of some features available in higher versions, if they are
  77. available.  As yet, Luminus does not have Locale support.
  78.  
  79. Luminus also requires a stack size of at least 16,000 bytes.  See the chapter
  80. Using Luminus below on how you may change the stack size from either the Shell
  81. or the Workbench.
  82.  
  83. Registration
  84.  
  85. Luminus is technically giftware.  (I hate all the different -ware terms.)  I
  86. don't believe or subscribe to the current shareware philosophy.  If I wanted
  87. (read: demanded) money for my work, I would release it as a commercial
  88. product.  I've written and released this program in this form because I
  89. believe the Amiga is an awesome computer, and I want to lend my support to its
  90. (hopefully) long and glorious life.  I want to make your use of the Amiga
  91. productive, efficient, and most of all enjoyable.  All I want is a 'thank you'
  92. or 'great job'.  (Of course, I don't object to receiving money :) (see below),
  93. but I'm not going to get nasty about it, like some other authors.)
  94.  
  95. But enough blithering; here's the bottom line:  This program is NOT crippled
  96. in any way, shape or form, thus no fee is required to make it fully
  97. functional.  You have it in all its splendor and glory.  Use it, enjoy it.  If
  98. you like it, send me a postcard, or a program you've written, or something to
  99. say 'thanks'.
  100.  
  101. If you want to, you can send me $5US, which will get you the next release sent
  102. right to you.  The money's only to cover disk and mailer costs (and a teeny
  103. profit).  Another $5US will get you a nicely typeset, printed manual, done in
  104. FinalWriter(tm).
  105.  
  106. The address to which you can send me money, postcards, a spare Amiga, or any-
  107. thing else is:
  108.  
  109. Paul A. Schifferer
  110. 515 11th Street
  111. Edwards AFB, CA  93523
  112. USA
  113.  
  114. I can also be contacted via Internet at:
  115.  
  116. gandalf@hughes.net
  117.  
  118. Undocumented Features
  119.  
  120. Some people call these things 'bugs'.  If you happen to notice one of these
  121. little critters, let me know, please!  I've done my best to make sure all the
  122. bugs were discovered and removed, but I can't find them all.  If finances are
  123. favorable, I may send you the next release at my cost.  (See Beta-Testers'
  124. Note below.) 
  125.  
  126. Please, if you send me bug reports, make sure to let me know the type of
  127. system you're running it on (CPU, RAM, etc.), which executable you were
  128. using, what other programs were running with it (especially commodities
  129. and system enhancers, since they tend to gum up the works sometimes), and
  130. what you were doing at the time of the bug occurrence/system crash.
  131.  
  132. Beta-Testers' Note
  133.  
  134. This release is in general distribution as a beta version.  If you wish to be
  135. a beta-tester for future versions of this program, or for any other program I
  136. may release, drop me a postcard or e-mail.  I will put you on the list of
  137. beta-testers, for which you will receive test-releases via Snail mail, FidoNet
  138. or the most cost-effective means for me to get the program to you.
  139.  
  140. Acknowledgements
  141.  
  142. I'd like to thank the following people:
  143.  
  144. My wife, Michelle, who gave me the idea for this program, provided construct-
  145. ive critique during its development and pre-release testing and encouragement
  146. to continue when things got frustrating or bleak.
  147.  
  148. The authors of the Amiga ROM Kernel Reference Manual: Libraries.  This was one
  149. of the most useful books I've ever picked up, and taught me a lot about pro-
  150. gramming the Amiga.
  151.  
  152. Stephen Provencher and Andrew Toth, who provided a lot of insight into pro-
  153. gramming in C, and always had another point of view.
  154.  
  155. EscomAG and Amiga Technologies GmbH, for breathing new life back into our
  156. beloved computer.  May it prosper for another 10 glorious years and squash
  157. Microsoft! :P
  158.  
  159. Alex May, for Enforcer testing and some pretty nifty suggestions.
  160.  
  161. Patrick Gern, Celso Martinho, for comments, bug reports and suggestions.
  162.  
  163. My dog, Phantom, for being so well-behaved lately. :)
  164.  
  165. Using Luminus
  166.  
  167. This chapter will discuss the general usage of Luminus, both from Workbench
  168. and the Shell, what command line options/ToolTypes are available, and Luminus'
  169. general behavior.
  170.  
  171. Workbench
  172.  
  173. Luminus requires a stack size of at least 16,000 bytes to run.  You can check
  174. that the icon's stack size is set properly by clicking once on the icon, then
  175. selecting Information from the Workbench's Icon menu.  In the upper left cor-
  176. ner of the Information window is an integer gadget marked "Stack:".  If the
  177. value in this gadget is less than 16,000, click in it, change it to 16000,
  178. press Return, and click the button marked Save.  Now you may run Luminus.
  179.  
  180. To start Luminus from the Workbench environment, simply double-click on its
  181. icon.  Luminus' behavior can be modified by using ToolTypes.  The following
  182. ToolTypes are supported:
  183.  
  184. SETTINGS=file      Lets you specify a particular settings file to use.  You
  185.                    can supply the complete pathname here, or Luminus will use
  186.                    its current directory to find the file.  If this file can-
  187.                    not be found or loaded, Luminus will resort to its stored
  188.                    internal defaults.  The default file is Luminus.prefs.
  189. NOTE:  Any of the following ToolTypes will override the corresponding default
  190. loaded from the settings file.
  191. CUSTOMSCREEN=name  This ToolType will signal Luminus to open on a custom
  192.                    screen (the default behavior).  You must provide a screen
  193.                    name when using this ToolType.  The custom screen opened
  194.                    will be a public screen, for use by other programs and
  195.                    identified by the name given.  The default name is LUMINUS.
  196.  
  197. PUBSCREEN=name     Use this ToolType when you want to open Luminus on another
  198.                    program's existing public screen.  The name you supply is
  199.                    the name of the screen on which to open.  This ToolType may
  200.                    be specified in a project icon, and will be effective only
  201.                    for that document.
  202.  
  203. PORTNAME=name      Lets you specify an alternate basename for Luminus' ARexx
  204.                    port.  Each document that you open in this invocation of
  205.                    Luminus will use this basename plus a numeric suffix, i.e.,
  206.                    the first document opened will be called 'LUMINUS.0'.  The
  207.                    default name is 'LUMINUS'.  This ToolType, if specified in
  208.                    a project icon, will completely override the naming conven-
  209.                    tion, and will be effective only for that document.
  210.  
  211. UNIT=number        This will specify the default Clipboard unit to use for
  212.                    cut, copy and paste operations.  All documents opened will
  213.                    use this unit.  The default unit is 0.  This ToolType may
  214.                    be specified in a project icon, and will be effective only
  215.                    for that document.
  216.  
  217. IOBUFFER=size      This ToolType sets the size (in Kilobytes) of Luminus'
  218.                    internal input/output buffer.  This buffer speeds access to
  219.                    and from disk.  Setting this to 0 will disable the buffer.
  220.                    The default size is 16.
  221.  
  222. STARTUP=script     Specifying this ToolType tells Luminus to attempt to start
  223.                    execution of the specified ARexx script following its
  224.                    initialization.  By default, no script will be started.
  225.  
  226. The Shell
  227.  
  228. Before you start Luminus, you must make sure your Shell's stack size is at
  229. least 16,000 bytes or greater.  You can check this by entering
  230.     stack
  231. at the prompt.  This will tell you the size of your Shell's stack.  If it's
  232. less than 16,000, then enter
  233.     stack 16000.
  234.  
  235. This will change the stack size so it's large enough for Luminus to run.
  236.  
  237. To start Luminus from the Shell, simply enter its name at the command line,
  238. and the program will begin execution.  The following options are available
  239. from the Shell:
  240.  
  241. files              Anything typed on the command line that does not correspond
  242.                    to a supported command line option will be taken to be a
  243.                    file to be loaded.  You may enter as many as you like that
  244.                    will fit into memory.
  245.  
  246. SETTINGS file      This option allows you to specify the settings file to use
  247.                    for this invocation of Luminus.  You may enter a complete
  248.                    path specification with the filename.
  249.  
  250. CUSTOMSCREEN name  Lets you set the name of the custom screen which Luminus is 
  251.                    to open.  When using this option, you must specify a name
  252.                    for the screen.
  253.  
  254. PUBSCREEN name     Use this option when you want to open Luminus on another
  255.                    program's existing public screen.  The name you supply is
  256.                    the name of the screen on which to open.
  257.  
  258. PORTNAME name      Lets you specify an alternate basename for Luminus' ARexx
  259.                    port. Each document that you open in this invocation of
  260.                    Luminus will use this basename plus a numeric suffix, i.e.,
  261.                    the first document opened will be called 'LUMINUS.0'.  The
  262.                    default name is 'LUMINUS'.
  263.  
  264. STARTUP script     Specifying this option tells Luminus to attempt to start
  265.                    execution of the specified ARexx script following its
  266.                    initialization.  By default, no script will be started.
  267.  
  268. UNIT number        This will specify the default Clipboard unit to use for
  269.                    cut, copy and paste operations.  All documents opened will
  270.                    use this unit.  The default unit is 0.
  271.  
  272. IOBUFFER size      This option sets the size (in Kilobytes) of Luminus' inter-
  273.                    nal input/output buffer.  This buffer speeds access to and
  274.                    from disk.  Setting this to 0 will disable the buffer.  The
  275.                    default size is 16.
  276.  
  277. NOGUI              Specify this option if you want Luminus to start without
  278.                    opening up its interface, i.e., no screens or windows.
  279.                    This option is useful if you are running an ARexx script
  280.                    that starts Luminus, modifies one or more documents, and
  281.                    exits without user intervention.
  282.  
  283. QUIET              Using this option tells Luminus not to present its initial
  284.                    copyright banner.  This option would most likely be used in
  285.                    conjunction with NOGUI.
  286.  
  287. Operations
  288.  
  289. This chapter deals with various aspects of Luminus, like its modes of oper-
  290. ation, basic editing information and general behavior of the software. 
  291.  
  292. Editing Modes
  293.  
  294. Currently, there are two editing modes available in Luminus.  The modes are
  295. fairly versatile, and allow switching between them "on-the-fly."  Their
  296. attributes and details are discussed below.
  297.  
  298. Page Mode
  299.  
  300. Page Mode is an editing mode that is used for editing static ANSI images of
  301. one or more pages.  Subsequent pages in the document are generally images in
  302. a later stage, much like a flipped-page cartoon is made up of a series of
  303. static images that when moved through rapidly simulate animation.  This allows
  304. page mode to have a crude, page-sized animation.
  305.  
  306. Cels edited on the page are directly overwritten, replacing the old cel on
  307. that page.
  308.  
  309. You can have as many pages as can fit in memory in your documents.
  310.  
  311. When Page mode documents are saved, the cels are saved in displayed-order.
  312.  
  313. Animation Mode
  314.  
  315. Animation Mode is an editing mode that allows you to create fine-tuned anim-
  316. ations using ANSI escape sequences for cursor positioning and screen control.
  317.  
  318. When you type characters in, or insert cels, everything is saved in the se-
  319. quence in which it is entered.
  320.  
  321. There are no pages in this mode.  Overwritten cels are not replaced in the
  322. document, but are remembered and simply hidden behind the newer cels.  A way
  323. exists to edit existing cels, though, so if you do make a mistake, it is
  324. possible to correct it without having to waste additional cels to "hide" it.
  325.  
  326. Drawing Modes
  327.  
  328. While Editing Modes affect the way cels are stored in the document and later
  329. saved to disk files, Drawing Modes affect how they are created and placed into
  330. the document.  There are two Drawing Modes available at this time.  (I have
  331. two more under development right now.)  These are discussed below.
  332.  
  333. Text Mode
  334.  
  335. This mode is pretty much the "standard" drawing mode.  Typed text is placed
  336. into the document (according to the Editing Mode), and cursor movements are
  337. simply that.  You can change the colors and text attributes and all that
  338. during your editing.
  339.  
  340. Attribute Mode
  341.  
  342. This mode acts basically the same as Text Drawing Mode as far as typing in
  343. text is concerned.  Where this one differs is in the way cursor movement is
  344. handled.  The cursor keys still move the cursor around the same as normal,
  345. except that the cel at the destination position of the cursor is changed.  A
  346. set of Attribute Mode Flags are available that determine how the cel is
  347. changed.  Currently, there are three flags:
  348.  
  349.      Change foreground? - this flag, if set, means that the foreground color
  350.           of the affected cel is changed to the current foreground color.
  351.  
  352.      Change background? - this flag, if set, means that the background color
  353.           of the affected cel is changed to the current background color.
  354.  
  355.      Change attributes? - this flag, if set, means that the text attributes of
  356.           the affected cel are changed to the current text attributes.
  357.  
  358. If in Animation Editing Mode, the cel isn't actually changed, but a copy is
  359. made with the new colors and/or attributes and placed in that position.
  360.  
  361. Line Types
  362.  
  363. Luminus supports the use of several line types that assume an IBM-style font
  364. is being used.  The line types are known as Single, Double, Single-Double
  365. and Double-Single.  (Pretty descriptive, eh?)  The Single line type is a col-
  366. lection of line pieces that are single width lines both horizontally and
  367. vertically.  The Double line type is the same except that the line pieces are
  368. double parallel lines.  The Single-Double and Double-Single line types use
  369. combined single and double-parallel lines.  The first part of the their name
  370. is the type of vertical line, the second part is the type of horizontal line.
  371.  
  372. Two additional line types are available that can be used with just about any
  373. font.  They are Custom and Select.  The Custom line pieces are defined in the
  374. Box & Line Settings panel.  This allows you to define the pieces used in all
  375. parts of line drawing.  (See the Box & Line Settings panel for more infor-
  376. mation on defining custom line pieces.)  The Select line type is a single
  377. character that is used to draw all parts of a line, whether horizontal,
  378. vertical, intersecting or whatever.  Generally, when the line should be drawn,
  379. a requester is presented asking for the character to use for the line.  There
  380. are some exceptions to this, such as ARexx commands for line or box drawing.
  381.  
  382. Cursor Directioning
  383.  
  384. This is an interesting little feature, I think.  Most text editors and word
  385. processors (or just about any kind of editor) process input text from left to
  386. right (or right to left, if the font is designed that way).  But since Luminus
  387. is basically a ANSI text-based drawing program, it can come in handy to have
  388. the cursor move in other directions during a drawing function or whatever.
  389.  
  390. So Luminus supports flexible cursor directions.  You can specify (separately)
  391. the desired vertical and horizontal directions of the cursor.  The available
  392. directions for movement are:
  393.  
  394.      Vertical dir.       Result
  395.      ----------------------------------------------------------------------
  396.      None                The cursor doesn't move vertically.
  397.  
  398.      Up                  The cursor moves upwards one character position.
  399.  
  400.      Down                The cursor moves downwards one character position.
  401.  
  402.      Horizontal dir.     Result
  403.      -------------------------------------------------------------------------
  404.      None                The cursor doesn't move horizontally.
  405.  
  406.      Left                The cursor move to the left one character position.
  407.  
  408.      Right               The cursor moves to the right one character position.
  409.  
  410. Vertical and horizontal directions can be combined to make angled cursor move-
  411. ment.  And it's actually even possible to specify both as None and have the
  412. cursor not move at all!
  413.  
  414. AppIcon, AppMenuItem & AppWindows
  415.  
  416. Luminus supports all three of Workbench library's App features.  Each
  417. feature's implementation in Luminus will be discussed here.
  418.  
  419. AppIcon
  420.  
  421. By default, Luminus will display an AppIcon on the Workbench window upon
  422. start-up.  This behavior can be changed via menu item or through the
  423. Operations Settings panel and saved in the settings file.  Luminus' AppIcon
  424. has two behaviors.
  425.  
  426. Should you double-click on it, Luminus' screen will be brought to the front,
  427. and the current document's window will be brought to the front and activated.
  428.  
  429. You may also drop icons onto the AppIcon.  Luminus will attempt to open a new
  430. document for each icon and load it.  These are usually icons for documents,
  431. but Luminus will take anything and try to make sense of it.
  432.  
  433. AppMenuItem
  434.  
  435. This App feature places an item on the Tools menu in the Workbench's menu
  436. structure.  Selecting this menu item will cause Luminus' screen to pop to the
  437. front, and the current document's window to be brought to the front and acti-
  438. vated.
  439.  
  440. AppWindow
  441.  
  442. Each document that Luminus opens up, it will attempt to attach an AppWindow.
  443. The AppWindow enables you to drop icons into the document's window (only while
  444. it is opened on the Workbench screen), which will tell Luminus to overlay the
  445. files to the document.  Note that if multiple icons are dropped in one window,
  446. Luminus will attempt to overlay all of them onto the document on which they
  447. were dropped.
  448.  
  449. General Editing
  450.  
  451. This section covers the miscellaneous editing commands and keystrokes, such as
  452. cursor keys with qualifiers, the Help key and the numeric keypad.
  453.  
  454. The numeric keypad
  455.  
  456. Just about all the programs I've used on the Amiga, if they've made use of the
  457. numeric keypad, have used it in one mode only.  (The only exception to this
  458. has been WordPerfectTM for the Amiga.)  It's either used just for numbers
  459. (its default behavior), or for cursor movement (like SAS/C's editor), but
  460. never for both.  Luminus doesn't suffer from this oversight.  The status line
  461. of each document may reflect the current state of the numeric keypad.  If it
  462. is in "number mode", 'Num' shows in the status line.  If it's in "cursor
  463. mode", nothing shows.  You can switch between these modes by pressing the
  464. NumL key (marked on the front of the '(' key on the numeric keypad) in
  465. combination with either Shift key.  (Sorry, A600 users.)
  466.  
  467. Number mode
  468. In this mode, the keys act as they are labelled on the top, i.e., numbers, the
  469. symbols '(', ')', '/', '*', '-', '+', '.', and the Enter key.
  470.  
  471. Cursor mode
  472. In this mode, the keys act as key are labelled on their fronts, while the
  473. Enter key works as in "number mode."  See the section below, Cursor keys, for
  474. information on the behavior of the cursor keys.  The key marked 'Ins' (keypad
  475. 0) toggles Insert mode on and off.  The key marked 'Del' (keypad .) acts like
  476. the Delete key (next to Help).  The '+' and '-' keys act normally.  The keys
  477. marked '5', 'NumL' (execpt when Shifted), 'ScrL', and 'PrtSc' do nothing.
  478.  
  479. Help key
  480.  
  481. The Help key is active in Luminus.  Pressing it tells Luminus to execute the
  482. AmigaGuide on-line help system.  Luminus' help system is context-sensitive, so
  483. pressing the Help key within a subwindow will bring up the help file at the
  484. appropriate place.
  485.  
  486. Cursor keys
  487.  
  488. The arrow keys (and their counterparts on the numeric keypad, when not
  489. NumLock'ed), when unqualified, do normal cursor movement, i.e., left, right,
  490. up, down.  When Shifted, the keys still behave as normal, but will extend an
  491. existing block in the appropriate direction.  Following is a chart on the
  492. behavior of the keys with and without qualifiers.
  493.  
  494.      Keystroke                What it does
  495.      -------------------------------------------------------------------------
  496.      Up arrow                 Moves up one line
  497.      Down arrow               Moves down one line
  498.      Left arrow               Moves left one column
  499.      Right arrow              Moves right one column
  500.      Home                     Move to the beginning of the line
  501.      End                      Move to the end of the line
  502.      PgUp                     Move up one windowful
  503.      PgDn                     Move down one windowful
  504.      Control + Up arrow       Moves to the top of the document
  505.      Control + Down arrow     Moves to the bottom of the document
  506.      Control + Left arrow     Move to the absolute beginning of line
  507.      Control + Right arrow    Move to the absolute end of the line
  508.      Control + Home           Move to the top-left corner of the document
  509.      Control + End            Move to the bottom-right corner of the document
  510.      Control + PgUp           Move to the top line of the document
  511.      Control + PgDn           Move to the bottom line of the document
  512.      Alt + Up arrow           Delete the current line, move all lower lines up
  513.      Alt + Down arrow         Insert a blank line
  514.      Alt + Left arrow         Delete the current column, move all right
  515.                                    columns over
  516.      Alt + Right arrow        Insert a blank column
  517.      Alt + Home               Move to the top of the window
  518.      Alt + End                Move to the bottom of the window
  519.      Alt + PgUp               Move up one windowful, cursor doesn't move
  520.      Alt + PgDn               Move down one windowful, cursor doesn't move
  521.  
  522. Error Codes
  523.  
  524. Standard AmigaDOS defines a set of general error codes that are normally
  525. returned from a called task or process that indicate the state under which the
  526. program exited.  They are normally 0 (normal exit, no errors), 5 (warning),
  527. 10 (error) and 20 (failure).  Luminus defines a set of specific error codes
  528. that may be returned from the program itself to a Shell process, or from
  529. ARexx commands to the ARexx script in the variable rc.
  530.  
  531. Following is Luminus' error code listing.  Several codes are referred to in
  532. some chapters by a name.  This name is given in parentheses after the error
  533. code's meaning.
  534.  
  535. NOTE      Luminus defines failure codes beginning at 50.  Code 0 indicates
  536.           everything is okay and codes 1 through 49 are informational codes
  537.           which are used internally; you will never see them.
  538.  
  539. Code      Meaning
  540. ----------------------------------------------------
  541. 0         Okay
  542. 50        General (undefined) failure
  543. 51        Unable to open file
  544. 52        Unable to save file
  545. 53        IFF error
  546. 54        Unable to open clipboard
  547. 55        Insufficient memory
  548. 56        Unable to lock public screen
  549. 59        Unable open window
  550. 60        Unable to lock directory
  551. 61        Unable to create port
  552. 62        Unable to create AppWindow
  553. 65        Wrong library version
  554. 68        Unable to create icon
  555. 69        Not enough screens
  556. 70        Unable to switch screens
  557. 71        Document in limbo
  558. 74        Unable to find cel
  559. 75        Invalid screen pointer
  560. 77        Invalid box dimensions
  561. 79        Invalid margins
  562. 80        No text
  563. 81        Out of dimension
  564. 82        Unable to open screen
  565. 83        Unable to open font
  566. 84        No such command
  567. 85        Invalid parameter (INVALID_PARAMETER)
  568. 87        Unable to open document
  569. 88        Command not available (COMMAND_NOT_AVAILABLE)
  570. 89        Unable to execute command
  571. 90        Unable to load settings
  572. 91        OPTIONS RESULTS not set in script (OPTIONS_RESULTS_NOT_SET)
  573.  
  574. Menus
  575.  
  576. This chapter deals with Luminus' menu structure and operation.
  577.  
  578. Project Menu
  579.  
  580. New
  581.  
  582. Selecting this menu item causes Luminus to open a new document, complete with
  583. its own window.
  584.  
  585. Holding down either Shift key while selecting this item tells Luminus that you
  586. want to specify the screen on which the new document is opened.  Please refer
  587. to Select Public Screen under Requesters in the Control Panels & Windows
  588. chapter.
  589.  
  590. Open...
  591.  
  592. This menu item lets you open up an existing document for editing.  The ASL
  593. file requester is opened for you to select a file or files to open.  Multi-
  594. selection is enabled in the file requester, so you can choose as many files
  595. as you like to open, provided there is enough available memory for them all!
  596.  
  597. Holding down either Shift key while selecting this item tells Luminus that you
  598. want to specify the screen on which the document(s) is (are) opened.  Please
  599. refer to Select Public Screen under Requesters in the Control Panels & Windows
  600. chapter.
  601.  
  602. Re-open...
  603.  
  604. This menu item allows you to reload from disk the current document.  This
  605. is useful if you have made numerous changes to the document and just want
  606. to go back to your original starting point.
  607.  
  608. You will be prompted to make sure this is really what you want to do, since
  609. you can't recover any changes that were made once the document is reloaded.
  610.  
  611. Overlay...
  612.  
  613. This menu item allows you to choose a file or files to overlay onto the exist-
  614. ing document using the ASL file requester.  Multi-selection is enabled in the
  615. requester, and all files selected will be appended to the current document.
  616.  
  617. Save
  618.  
  619. This menu item allows you to save the current document to disk.  If there is
  620. no current filename of the filename is "Untitled", you will be prompted for
  621. one via the ASL file requester.  Otherwise, the document is just saved.
  622.  
  623. Holding down either Shift key will bring up the Save Panel, so you may alter
  624. the save parameters before saving the file.  You can have the Save Panel come
  625. up automatically for every save attempt by enabling the Save Prompt gadget in
  626. the File Settings Panel.
  627.  
  628. This item is ghosted if no changes have been made since the last save.
  629.  
  630. Save as...
  631.  
  632. This menu item allows you to save the current document to disk under a differ-
  633. ent name than its current one.  An ASL file requester is presented for you to
  634. choose the directory and filename.
  635.  
  636. Holding down either Shift key will bring up the Save Panel, so you may alter
  637. the save parameters before saving the file.  You can have the Save Panel come
  638. up automatically for every save attempt by enabling the Save Prompt gadget in
  639. the File Settings Panel.
  640.  
  641. Close
  642.  
  643. Selecting this item causes the current document to close, shutting down its
  644. window and freeing all memory associated with it.  If the document was
  645. modified since its last save, you will prompted for verification to close the
  646. document.
  647.  
  648. If the last document open is closed, Luminus will shut down as if you had
  649. selected Quit.
  650.  
  651. About...
  652.  
  653. This menu item brings up an informational window, giving you the low-down on
  654. Luminus.  It also informs you of the ARexx port name of the current document.
  655.  
  656. Help...
  657.  
  658. Selecting this item tells Luminus to activate its on-line-help feature.  In
  659. order for on-line-help to work, the AmigaGuide file (a file of the same name
  660. as the program ending with the extension '.guide') must be in either the same
  661. directory as the program, or the logical directory HELP:.  Pressing the Help
  662. key on the keyboard has the same effect.
  663.  
  664. Quit
  665.  
  666. You want to completely shut down Luminus.  This item causes that to happen, no
  667. matter how many documents are open.  Holding either Shift key while selecting
  668. this item will suppress the 'are you sure?' requester.
  669.  
  670. Luminus will normally inform you if any opened documents have been modified
  671. since their last save, and give you a chance to save them.  Holding either Alt
  672. key will suppress this requester, and close the documents without saving
  673. their contents.
  674.  
  675. Edit Menu
  676.  
  677. Cut
  678.  
  679. Cut grabs from the currently blocked area of the document, removing its cels
  680. to the clipboard you have specified for the document.  Luminus will store the
  681. data to the clipboard in IFF format, according to the type you specify, either
  682. FTXT CHRS, which can usually be read by text editors and the console device,
  683. and ANSI CEL, a compact proprietary format that Luminus uses.
  684.  
  685. The blocked data is removed from the document in the same manner as Erase.
  686.  
  687. This item is only enabled when a block is selected in the document.
  688.  
  689. Copy
  690.  
  691. Copy grabs from the currently blocked area of the document, duplicating its
  692. cels to the clipboard you have specified for the document.  Luminus will store
  693. the data to the clipboard in IFF format, according to the type you specify,
  694. either FTXT CHRS, which can usually be read by text editors and the console
  695. device, and ANSI CEL, a compact proprietary format that Luminus uses.
  696.  
  697. The blocked data is left in the document and the block is deselected when the
  698. copy is complete.
  699.  
  700. This item is only enabled when a block is selected in the document.
  701.  
  702. Paste
  703.  
  704. Choosing this item will cause Luminus to grab whatever is in the specified
  705. clipboard for the current document (each document may specify a different
  706. clipboard unit number), and paste it at the cursor position.  Luminus under-
  707. stands IFF clips of type FTXT CHRS and ANSI CEL.  No other types are
  708. supported.
  709.  
  710. Erase
  711.  
  712. Selecting Erase will removed all blocked cels from the document without
  713. pushing them onto the clipboard.  The rest of the document is left intact (see
  714. Delete below).
  715.  
  716. This item is only enabled when a block is selected in the document.
  717.  
  718. Delete
  719.  
  720. Delete does somewhat the same as Erase, removing all blocked cels from the
  721. document without pushing them onto the clipboard.  The difference is that
  722. anything to the right of the deleted block is moved over to fill in the space
  723. vacated by the removed cels.  Erase simply leaves the area blank, Delete
  724. attempts to fill it in.
  725.  
  726. This item is only enabled when a block is selected in the document.
  727.  
  728. Clear
  729.  
  730. This sub-menu allows you to do global clears in the document.
  731.  
  732.      Current page
  733.      This sub-item will remove all cels from the current page, rendering it
  734.      blank.  You will be asked to verify your choice.
  735.  
  736.      This item is ghosted in Animation Editing Mode.
  737.  
  738.      Document
  739.      This sub-item removes every cel from the entire document.  You must
  740.      verify your choice.
  741.  
  742. Column
  743.  
  744. This sub-menu provides you with items for manipulating columns, i.e.,
  745. inserting and deleting.
  746.  
  747.      Insert
  748.      This sub-item causes Luminus to insert a blank column at the current
  749.      cursor position for the entire height of the document.  All columns to
  750.      the right are moved over.
  751.  
  752.      Note that any columns that are moved beyond the boundaries of the docu-
  753.      ment are not lost, but may not be saved with the file, and are not
  754.      displayed until they are moved back into the document's boundaries.
  755.  
  756.      Delete
  757.      This sub-item causes the column at the cursor to be irretrievably removed
  758.      from the document, and all columns to the right are moved over to fill
  759.      its space.
  760.  
  761. Line
  762.  
  763. This sub-menu provides you with items for manipulating lines, i.e., inserting
  764. and deleting.
  765.  
  766.      Insert
  767.      This sub-item causes Luminus to insert a blank line at the current cursor
  768.      position for the entire width of the document.  All lines below are moved
  769.      up.
  770.  
  771.      Note that any lines that are moved beyond the boundaries of the document
  772.      are not lost, but may not be saved with the file, and are not displayed
  773.      until they are moved back into the document's boundaries.
  774.  
  775.      Delete
  776.      This sub-item causes the column at the cursor to be irretrievably removed
  777.      from the document, and all columns to the right are moved over to fill
  778.      its space.
  779.  
  780. Replace...
  781.  
  782. This menu item brings up the Replace panel so that you can search for and
  783. replace cels in the document.
  784.  
  785. Document Menu
  786.  
  787. Use border?
  788.  
  789. This is a toggle item that determines if the current document's window will be
  790. drawn with the standard Intuition border (and all appropriate gadgets,
  791. including scroll bars).  When the state of this item is changed, the
  792. document's window is closed and reopened accordingly.
  793.  
  794. Show status line?
  795.  
  796. This is another toggle item, which determines whether the document's status
  797. line will be rendered.  If so, it is placed at the top or bottom according to
  798. the Status line at top? option in the Document Settings panel.
  799.  
  800. Ruler
  801.  
  802. This sub-menu controls the ruler and its display aspects.
  803.  
  804.      Display?
  805.      When this item is checked, two lines, one vertical, one horizontal, are
  806.      displayed, intersecting at the current mouse position.  The ruler is
  807.      automatically and temporarily disabled when the mouse pointer is outside
  808.      the boundaries of the drawing area of the active document window.
  809.  
  810.      Hash marks?
  811.      With this item checked, the ruler is displayed with vertical or horizon-
  812.      tal hash marks along each of its beams, placed at character intervals so
  813.      they would intersect the midpoint of each character row or column.  If
  814.      the ruler Display? item is not checked, this item will be ghosted.
  815.  
  816.      Numbers?
  817.      With this item checked, the ruler is displayed with position numbers
  818.      drawn at a user-specified interval (which can be set in the Document
  819.      Settings Panel).  Each number is drawn either above or to the left of its
  820.      respective hash mark.  Should the ruler come close to the left or top
  821.      drawing boundaries of the window, numbers may not be displayed that won't
  822.      fit into the display wholly.  If the ruler Display? and Hash marks? items
  823.      are not checked, this item will be ghosted.
  824.  
  825. Edit mode
  826.  
  827. This sub-menu's items are the available editing modes in Luminus.  Each mode
  828. is discussed below.  For details on Luminus' editing modes, see the Operations
  829. chapter.
  830.  
  831.      Page
  832.      This sub-item causes Luminus to revert to Page Editing Mode.  (See Page
  833.      under Editing Modes in the Operations chapter.)  Since an existing anim-
  834.      ation can get severely damaged, i.e., certain portions of the animation
  835.      may be lost, by switching to this mode, your choice is verified before
  836.      any real action is taken.
  837.  
  838.      Animation
  839.      This sub-item causes Luminus to revert to Animation Editing Mode.  (See
  840.      Page under Editing Modes in the Operations chapter.)  Since switching to
  841.      this mode makes no changes to the document's contents, as switching to
  842.      Page Mode might do, no verification is necessary.
  843.  
  844. Draw mode
  845.  
  846. This sub-menu's items are the available drawing modes in Luminus.  Each mode
  847. is discussed below.  For details on Luminus' drawing modes, see the Operations
  848. chapter.
  849.  
  850.      Text
  851.      This is the normal drawing mode.  Text is rendered normally and cursor
  852.      movements are treated as only that.
  853.  
  854.      Attribute
  855.      This mode is a unique drawing mode.  Text can entered as in Text Drawing
  856.      Mode, but cursor movements are handled in an entirely different manner.
  857.      Depending on the attribute mode flags set, moving the cursor over cels
  858.      can change their colors or attributes.
  859.  
  860. Line type
  861.  
  862. This sub-menu contains the various line types with which Luminus may render
  863. boxes and lines.  Each line type is briefly discusses below.  For details on
  864. the line types, see the Operations chapter.
  865.  
  866.      Single
  867.      This line type is a single vertical or horizontal line, including corners
  868.      and intersecting pieces.  This type assumes an IBM-style font.
  869.  
  870.      Double
  871.      This line type is a double vertical or horizontal line, including corners
  872.      and intersecting pieces.  This type assumes an IBM-style font.
  873.  
  874.      Single-Double
  875.      This line type is rendered using single vertical and double horizontal
  876.      lines.  Corners and intersecting pieces are drawn with respect to these
  877.      types.  This type assumes an IBM-style font.
  878.  
  879.      Double-Single
  880.      This line type is rendered using double vertical and single horizontal
  881.      lines.  Corners and intersecting pieces are drawn with respect to these
  882.      types.  This type assumes an IBM-style font.
  883.  
  884.      Custom
  885.      This line type's pieces are rendered according the ASCII codes set up in
  886.      the Box & Line settings panel.  This type assumes no particular font, but
  887.      may be set up according to any font.
  888.  
  889.      Select
  890.      This line type's pieces are rendered using a single ASCII code, which is
  891.      specified at the time of the line drawing.  This type assumes no part-
  892.      icular font.
  893.  
  894. Attribute mode flags
  895.  
  896. This sub-menus contains some toggle-items that control how Attribute Drawing
  897. Mode will affect existing character during cursor movement.  (See the
  898. Attribute Mode under Drawing Modes in the Operations chapter for more infor-
  899. mation.)
  900.  
  901.      Change foreground?
  902.      If this item is checked, Attribute Drawing Mode will affect the fore-
  903.      ground color of all cels the cursor passes over during cursor movement.
  904.  
  905.      Change background?
  906.      If this item is checked, Attribute Drawing Mode will affect the back-
  907.      ground color of all cels the cursor passes over during cursor movement.
  908.  
  909.      Change attribute?
  910.      If this item is checked, Attribute Drawing Mode will affect the character
  911.      attribute of all cels the cursor passes over during cursor movement.
  912.  
  913. Vertical movement
  914.  
  915. This sub-menu controls the vertical movement of the cursor during text entry.
  916. This movement is in conjunction with the horizontal movement (above), thus
  917. allowing such really cool effects as angled cursor movement.
  918.  
  919.      None
  920.      When this item is enabled, the cursor makes no vertical movement during
  921.      text entry.  This is the default behavior.
  922.  
  923.      Up
  924.      This item causes the cursor to move upward after each character is
  925.      entered.
  926.  
  927.      Down
  928.      This item causes the cursor to move down after each character is entered.
  929.  
  930. Horizontal movement
  931.  
  932. This sub-menu controls the horizontal movement of the cursor during text
  933. entry.  This movement is in conjunction with the vertical movement (above),
  934. thus allowing such neat-o dog effects as angled cursor movement.
  935.  
  936.      None
  937.      With this item checked, the cursor makes no horizontal movement after
  938.      text entry.
  939.  
  940.      Left
  941.      This item cause the cursor to move to the left after each character
  942.      entered.
  943.  
  944.      Right
  945.      This item causes the cursor to move to the right after each character
  946.      entered.  This is the default behavior.
  947.  
  948. Text/Graphics Menu
  949.  
  950. Attribute
  951.  
  952. This sub-menu affects the current drawing colors and attributes.
  953.  
  954.      Foreground color...
  955.      Background color...
  956.      Selecting one of these two menu items brings up a requester that prompts
  957.      for the desired color to which to change.  See Choose Color under
  958.      Requesters in the Control Panels & Windows chapter for more information
  959.      about the requester.
  960.  
  961.      Plain
  962.      Bold
  963.      Italics
  964.      Underline
  965.      Blink
  966.      Inverse
  967.      Concealed
  968.      These items toggle the various text attributes on and off, with the
  969.      exception of Plain, which clears all other attributes.  A checked item is
  970.      enabled.
  971.  
  972.      At cursor
  973.      This menu item grabs the colors and attributes of the cel underneath the
  974.      cursor and makes them the current values.
  975.  
  976. Cycle colors
  977.  
  978. Color cycling is the ability for Luminus to change foreground and/or back-
  979. ground colors 'on-the-fly', as you are entering text, making for some very
  980. interesting (and psychedelic) effects.  Luminus cycles forward through the
  981. available colors, looping around to the first color when it reaches the end of
  982. the list.
  983.  
  984.      Foreground
  985.      This item toggles the state of foreground color cycling.  A checked item
  986.      indicates that cycling is enabled.  Luminus will affect the Bold
  987.      attribute during color cycling, in order to take advantage of the full
  988.      range of ANSI colors, shutting the attribute off or turning it on as
  989.      needed.
  990.  
  991.      Background
  992.      This item toggles the state of background color cycling.  A checked item
  993.      indicates that cycling is enabled.  Background color cycling only cycles
  994.      through the first eight background colors, keeping within the ANSI
  995.      specification.
  996.  
  997. Text...
  998.  
  999. Selecting this menu item brings up the Text panel, which allows you to enter
  1000. multiple lines of text, which may be left-, center- or right-justified accord-
  1001. ing to any specified dimensions, and may optionally have a box or bevel box
  1002. rendered around it.  See the discussion of the Text Panel under Control Panels
  1003. in the Control Panels & Windows chapter.
  1004.  
  1005. The Text panel is a non-blocking window, and remains open until it is ex-
  1006. plicitly closed by clicking on its window's close gadget or Close button.
  1007. By 'non-blocking', I mean that input is not blocked to any document's
  1008. window, so you can keep entering things into the document.
  1009.  
  1010. Draw box
  1011.  
  1012. This item causes a box to be drawn using the currently selected block as its
  1013. dimensions.  The box is drawn using the current colors (including color
  1014. cycling) and attributes.
  1015.  
  1016. This item is ghosted if a block is not selected.
  1017.  
  1018. Draw bevel box
  1019.  
  1020. This sub-menu causes a bevelled box to be drawn using the currently selected
  1021. block as its dimensions.  The box is drawn using the current background color
  1022. (including color cycling) and attributes.  Its foreground color is rendered to
  1023. give it a raised or recessed appearance, according to the sub-item chosen.
  1024.  
  1025.      Raised
  1026.      This sub-item specifies that the bevel box should have a raised
  1027.      appearance.
  1028.  
  1029.      Recessed
  1030.      This sub-item specifies that the bevel box should have a recessed
  1031.      appearance.
  1032.  
  1033. Insert
  1034.  
  1035. This sub-menu allows you to insert ANSI codes into the document that are not
  1036. possible directly from the keyboard.
  1037.  
  1038.      Custom ANSI code...
  1039.      This sub-item brings up a string requester (see the Control Panels &
  1040.      Windows chapter) that allows you to enter the guts of an ANSI code.  As
  1041.      the requester indicates, do not type in the escape character and opening
  1042.      bracket ([), as these are assumed and added for you when the file is
  1043.      saved.  Custom codes are ignored during normal display.
  1044.  
  1045.      Clear screen...
  1046.      This sub-item presents a color requester (see the Control Panels &
  1047.      Windows chapter) from which you pick a background color with which to
  1048.      clear the screen.
  1049.  
  1050. Page Menu
  1051.  
  1052. This menu and its items are only available in Page Editing Mode.
  1053.  
  1054. New page
  1055.  
  1056. This sub-menu lets you add pages to your document, thus allowing a static
  1057. image multiple pages.  There is no limit (other than available memory) to the
  1058. number of pages you can add to the document.
  1059.  
  1060.      Append
  1061.      Selecting this item causes Luminus to create a new empty page at the end
  1062.      of the document.
  1063.  
  1064.      Insert
  1065.      This menu item inserts a new empty page at the current page, moving all
  1066.      subsequent pages back.
  1067.  
  1068. Delete page
  1069.  
  1070. This item allows you to delete an entire page of an image.  This data will be
  1071. irretrievably lost, so Luminus will verify your desire to delete the page.  If
  1072. there is only one page in the document, this item will be ghosted, as you
  1073. cannot delete the last remaining page (you may as well close the document!).
  1074.  
  1075. Previous page
  1076.  
  1077. This item moves to the previous page in the document.  If there is no previous
  1078. page, this item will be ghosted.
  1079.  
  1080. Next page
  1081.  
  1082. This menu item moves to the next page in the document.  If there is no next
  1083. page, this item will be ghosted.
  1084.  
  1085. Animation Menu
  1086.  
  1087. This menu and its items are only available in Animation Editing Mode.
  1088.  
  1089. Display...
  1090.  
  1091. Selecting this menu item tells Luminus to re-display the current animation
  1092. sequence from the first entered cel to the last.  You will be prompted for a
  1093. delay time.  Delay values are in 100ths of a second, i.e., a value of 100 is
  1094. 1 second delay between each cel displayed.
  1095.  
  1096. Any input events (such as keystrokes, mouse-clicks, etc.) encountered during
  1097. the animation display are considered interruptions, and cause the animation to
  1098. stop its sequential display.  The finished image is then calculated and drawn
  1099. on the screen.  This is useful for interrupting long animation sequences, or
  1100. inadvertently long delay times.
  1101.  
  1102. Insert pause
  1103.  
  1104. This sub-menu allows you to insert a pause into the animation sequence (so
  1105. that you can stop and admire your work).  Two different types of pauses are
  1106. available.
  1107.  
  1108.      Key
  1109.      This flavor of pause waits for a keystroke or mouse-click before
  1110.      continuing with the animation sequence.  If the document's window is
  1111.      bordered, even clicking on the close gadget counts toward it.  Note that
  1112.      only one input event is consumed when this pause executes, and any events
  1113.      before or after are considered interruption events (as discussed above
  1114.      under the Display... menu item).
  1115.  
  1116.      Timed
  1117.      This pause, when executed, wait for a specified length of time before
  1118.      continuing with the animation sequence.  You are prompted for a delay
  1119.      time  Delay times are in 100ths of a second, i.e., 100 is a 1 second
  1120.      delay.
  1121.  
  1122. Edit cel...
  1123.  
  1124. This item brings up the Edit Cel panel.  From this panel you may edit
  1125. individual aspects of existing cels in the animation sequence.  See the
  1126. Control Panels & Windows chapter for details on the operation of the Edit Cel 
  1127. panel.
  1128.  
  1129. Windows Menu
  1130.  
  1131. Attribute
  1132.  
  1133. Selecting this menu item tells Luminus to open up the Attributes interactive
  1134. support window.  (See the Control Panels & Windows chapter for details on this
  1135. type of window.)  If the window is already opened, but is partially or wholly
  1136. covered by other windows, it will be moved to the front.  If the window is
  1137. opened on another screen, it will be closed and reopened on the screen on
  1138. which the summoning window is opened.
  1139.  
  1140. This window provides a convenient method by which you may edit the current
  1141. colors and text attributes of your documents.  This window always reflects the
  1142. current settings of the currently active document.
  1143.  
  1144. Switches
  1145.  
  1146. Selecting this menu item tells Luminus to open up the Switches interactive
  1147. support window.  (See the Control Panels & Windows chapter for details on this
  1148. type of window.)  If the window is already opened, but is partially or wholly
  1149. covered by other windows, it will be moved to the front.  If the window is
  1150. opened on another screen, it will be closed and reopened on the screen on
  1151. which the summoning window is opened.
  1152.  
  1153. This window provides a convenient method by which you may edit the modes and
  1154. miscellaneous attributes of your documents.  This window always reflects the
  1155. current settings of the currently active document.
  1156.  
  1157. Character set
  1158.  
  1159. Selecting this menu item tells Luminus to open up the Character Set interact-
  1160. ive support window.  (See the Control Panels & Windows chapter for details on
  1161. this type of window.)  If the window is already opened, but is partially or
  1162. wholly covered by other windows, it will be moved to the front.  If the window
  1163. is opened on another screen, it will be closed and reopened on the screen on
  1164. which the summoning window is opened.
  1165.  
  1166. This window provides a convenient method by which you may enter character not
  1167. directly available from the keyboard, or characters for which you may not
  1168. remember the keystrokes, into your documents.
  1169.  
  1170. Refresh
  1171.  
  1172. This menu item causes Luminus to do a total refresh of the currently active
  1173. window.  Its border, gadgets, status line and other miscellaneous items, as
  1174. well as the actual display, are completely redrawn.  This item can come in
  1175. handy if one of your windows is graphically damaged, and the Amiga's display
  1176. refresh routines or Luminus' internal refresh routines don't catch it.
  1177.  
  1178. Jump screen...
  1179.  
  1180. This menu item brings up a scrolling list requester with all the available,
  1181. open public screens.  From this list you may select a public screen on which
  1182. you wish the current window to be reopened.  If you click the 'Move all
  1183. windows' checkbox so it is checked, then all windows, no matter what screen,
  1184. will be reopened on the desired screen.
  1185.  
  1186. Selecting this item while holding either Shift key will cause the current
  1187. window to reopen on the next screen in the public screen list, whichever that
  1188. may be.  No requester is presented.
  1189.  
  1190. To front
  1191.  
  1192. This item will move the current window in front of all other windows on the
  1193. screen.  It is available for when the document's window doesn't have a depth
  1194. gadget (which is the default) or it is obscured.
  1195.  
  1196. To back
  1197.  
  1198. This item will move the current window behind all other windows on the screen,
  1199. except backdrop windows (see your AmigaDOS manual for information on backdrop
  1200. windows).  It is available for when the document's window doesn't have a depth
  1201. gadget (which is the default) or it is obscured.
  1202.  
  1203. Zoom window
  1204.  
  1205. Selecting this menu item causes the window to behave as if its zoom gadget had
  1206. been selected, switching between its zoomed size and position and its regular
  1207. size and position.  It is available for when the document's window doesn't
  1208. have a zoom gadget (as when the window is rendered borderless) or it is
  1209. obscured.
  1210.  
  1211. Settings Menu
  1212.  
  1213. Create icons?
  1214.  
  1215. This item's state determines whether document's will be saved with icons or
  1216. not.  It is a global flag and affects all documents opened in this invocation
  1217. of Luminus.
  1218.  
  1219. Use AppIcon?
  1220.  
  1221. This item's state determines whether Luminus' AppIcon will be presented on the
  1222. Workbench window or not.  It is a global flag and affects all documents opened
  1223. in this invocation of Luminus.  See the Operations chapter form more infor-
  1224. mation on the behavior of Luminus's AppIcon.
  1225.  
  1226. Use preset color
  1227.  
  1228. This sub-menu allows you to choose from predefined color sets.  These color
  1229. sets are only available if you are using a custom screen in Luminus, and will
  1230. only affect that screen.  This entire sub-menu is disabled if no custom screen
  1231. is being used.
  1232.  
  1233.      A2024
  1234.      Selecting this sub-item changes the custom screen colors to a color set
  1235.      optimized for the A2024 monitor.  This color set assumes an 8-color
  1236.      screen.  A screen of fewer colors will not look right, and a screen of
  1237.      more colors will only have the first 16 changed.    
  1238.  
  1239.      Amiga
  1240.      Selecting this sub-item changes the custom screen colors to the standard
  1241.      Amiga-style colors.  This color set assumes an 8-color screen.  A screen
  1242.      of fewer colors will not look right, and a screen of more colors will
  1243.      only have the first 16 changed.
  1244.  
  1245.      ANSI
  1246.      Selecting this sub-item changes the custom screen colors to the standard
  1247.      ANSI colors.  This color set assumes a 16-color screen.  A screen of
  1248.      fewer colors will not look right, and a screen of more colors will only
  1249.      have the first 16 changed.
  1250.  
  1251.      EGA
  1252.      Selecting this sub-item changes the custom screen colors to the standard
  1253.      EGA colors.  This color set assumes a 16-color screen.  A screen of fewer
  1254.      colors will not look right, and a screen of more colors will only have
  1255.      the first 16 changed.
  1256.  
  1257.      From Workbench
  1258.      Selecting this sub-item grabs the current colors from the Workbench
  1259.      screen and plugs them into the custom screen.
  1260.  
  1261. Display...
  1262.  
  1263. Selecting this menu item brings up the Display Settings panel, from which you
  1264. can edit aspects of Luminus regarding the display, such as screen mode, dim-
  1265. ensions, depth, and other things.  See the Display Settings Panel under
  1266. Control Panels in the Control Panels & Windows chapter.
  1267.  
  1268. If the screen mode, dimensions, depth, or font are changed in the panel,
  1269. Luminus will attempt to close and re-open its custom screen.  Any document
  1270. windows on this screen are temporarily closed, and after the screen is re-
  1271. opened, Luminus will attempt to re-open those windows.  Make sure any visitor
  1272. windows are closed before doing this.
  1273.  
  1274. This panel, as well as the four other Settings panels, are non-blocking
  1275. windows.  That is, you can keep entering text into any document's windows
  1276. while having one or more of the Settings panels open.  (I'm not sure how
  1277. practical it is, but it's neat, don't you think?)
  1278.  
  1279. Operations...
  1280.  
  1281. Selecting this menu item brings up the Operations Settings panel, from which
  1282. you can edit the operational settings of the program.  See the Operations
  1283. Settings Panel under Control Panels in the Control Panels & Windows chapter.
  1284.  
  1285. File...
  1286.  
  1287. Selecting this menu item brings up the File Settings panel, from which you can
  1288. edit the file settings of the program.  See the File Settings Panel under
  1289. Control Panels in the Control Panels & Windows chapter.
  1290.  
  1291. Document...
  1292.  
  1293. Selecting this menu item brings up the Document Settings panel, from which you
  1294. can edit the document settings of the program.  See the Document Settings
  1295. Panel under Control Panels in the Control Panels & Windows chapter.
  1296.  
  1297. Boxes & lines...
  1298.  
  1299. Selecting this menu item brings up the Box & Line Settings panel, from which
  1300. you can edit the box and line settings of the program.  See the Box & Line
  1301. Settings Panel under Control Panels in the Control Panels & Windows chapter.
  1302.  
  1303. Restore defaults
  1304.  
  1305. This menu item tells Luminus to disregard the currently loaded settings and
  1306. revert to its internal defaults.  These are the same defaults used if no
  1307. settings file is located upon program start-up.
  1308.  
  1309. Save settings
  1310.  
  1311. Selecting this menu item saves the current settings to disk.  The settings
  1312. file will be saved in the directory from which it was loaded.  If the file
  1313. wasn't loaded, it will be saved into the program's directory.  If the file
  1314. can't be saved there, it will saved in the ENVARC: and ENV: directories.
  1315.  
  1316. Save settings as...
  1317.  
  1318. This menu item prompts for a path and file name for the settings file, and
  1319. saves the current settings to disk.
  1320.  
  1321. Load settings...
  1322.  
  1323. This menu item brings up an ASL requester for you to select a settings file to
  1324. be loaded.
  1325.  
  1326. Tools Menu
  1327.  
  1328. Shell window...
  1329.  
  1330. Selecting this menu item causes Luminus to attempt to bring up a shell window,
  1331. using the Console Specification.  The Console Specification may be changed in
  1332. the Operations Settings Panel.
  1333.  
  1334. Execute script...
  1335.  
  1336. This menu item brings up a string requester in which you input the name of the
  1337. AmigaDOS script to be executed.  If no path is entered, the S: directory is
  1338. assumed.
  1339.  
  1340. ARexx script...
  1341.  
  1342. This menu item brings up a string requester in which you input the name of the
  1343. ARexx script to be executed.  If no path is entered, the REXX: directory is
  1344. assumed.
  1345.  
  1346. Control Panels & Windows
  1347.  
  1348. The purpose of this chapter is to explain the operation of various windows
  1349. that may pop up during certain activities in Luminus.  The general purpose of
  1350. these windows is examined, followed by a description of each window's gadgets
  1351. and their purpose.  There are three different types of windows in Luminus, not
  1352. counting document windows.
  1353.  
  1354. The first kind are called interactive support windows.  What this means is
  1355. that, unlike other windows, this window does not block input into the document
  1356. window from which it was summoned, but remains open in conjunction with all
  1357. document windows, and reflects the current settings of the active document.
  1358. As the active document is changed, usually by clicking in its window, all
  1359. interactive support windows are updated to reflect the settings of that newly
  1360. active document.  Interactive support windows' positions are saved in the
  1361. settings file.
  1362.  
  1363. The second type of window is the control panel.  These are windows that open
  1364. up, usually with several gadgets, that allow you to change, control, and in
  1365. some cases, 'fine-tune' the action that you have chosen.  Input to the
  1366. document window that summoned the control panel is not blocked (exceptions
  1367. will be noted) while the window is opened.
  1368.  
  1369. The final type of window is the requester, of which there are two sub-types.
  1370. The first is the standard informational/query requester.  These are basically
  1371. the same as standard Intuition requesters.  They provide you with some
  1372. (essential) information or prompt you for a response, and have one or more
  1373. button gadgets at the bottom of the window to respond to the query.  The
  1374. second sub-type are specialized, each kind asking for information that cannot
  1375. be gathered using a few sentences and some buttons.  These are discussed in
  1376. detail below.
  1377.  
  1378. Interactive support windows
  1379.  
  1380. Attributes Window
  1381.  
  1382. The Attributes window allows you to control current drawing colors and
  1383. attributes as an alternative to using the menu system.  The following gadgets
  1384. are available in the Attributes window:
  1385.  
  1386. Foreground
  1387. This palette gadget reflects the current foreground color of the active
  1388. document.  Clicking on a color will change the active foreground color of that
  1389. document to the color chosen.  This gadget only allows access to the first
  1390. eight colors of the screen palette.  This is due the way ANSI foreground
  1391. colors are displayed.  To access the bright equivalents, simply click the Bold
  1392. gadget so it is checked.
  1393.  
  1394. Background
  1395. This palette gadget reflects the current background color of the active
  1396. document.  Clicking on a color will change the active background color of that
  1397. document to the color chosen.  This gadget only allows access to the first
  1398. eight colors of the screen palette.  This is due to the fact that the ANSI
  1399. specification only supports the eight dark colors for background display.
  1400.  
  1401. Cycle?
  1402. A checkbox gadget labelled 'Cycle?' is located beneath each palette gadget.
  1403. Each corresponds to the color cycling facility of the fore/background colors.
  1404. If the box is checked, color cycling is enabled.  Enabling color cycling
  1405. causes Luminus to move through the available spectrum of colors, circling back
  1406. around to the beginning when the end is reached.  Colors are cycled during
  1407. text-entry, whether interactive or ARexx-induced, during attribute drawing,
  1408. and is respected by the box and line drawing routines.
  1409.  
  1410. Plain
  1411. Pressing this button causes the currently set attributes to be cleared.  It is
  1412. basically provided as a convenience to having to deselect each attribute.
  1413.  
  1414. Bold/Italics/Underline/Blink/Inverse/Concealed
  1415. These checkboxes control the various attributes available in the ANSI
  1416. specification for text display.  A checked box indicates an active attribute.
  1417.  
  1418. NOTE      Some attributes may not be displayable on some computers.  For
  1419.           instance, the ANSI blinking attribute cannot be displayed on the
  1420.           Amiga, while underline and italics are normally not displayed on
  1421.           MS-DOS machine standard text displays.
  1422.  
  1423. Switches window
  1424.  
  1425. The Switches window allows you to control current editing and drawing modes,
  1426. line types and cursor movement as an alternative to using the menu system.
  1427. The following gadgets are available in the Switches window:
  1428.  
  1429. Edit mode
  1430. This cycle gadget allows you to choose from the available editing modes, which
  1431. are currently Page and Animation.  Switching from Animation mode to Page mode
  1432. can ruin a perfectly good animation, so your choice is verified before any
  1433. real action is taken.  Please see the discussion of Editing Modes in the Operations chapter.
  1434.  
  1435. Draw mode
  1436. This cycle gadget allows you to choose from the available drawing modes, which
  1437. are currently Text and Attribute.  Please see the discussion of Drawing Modes
  1438. in the Operations chapter.
  1439.  
  1440. Line type
  1441. This cycle gadget allows you to choose from the available line types.  Please
  1442. see the discussion of Line Types in the Operations chapter.
  1443.  
  1444. Vertical
  1445. This cycle gadget selects the vertical direction the cursor will move during
  1446. text entry.  Please see the discussion of Cursor Directioning in the
  1447. Operations chapter.
  1448.  
  1449. Horizontal
  1450. This cycle gadget selects the horizontal direction the cursor will move during
  1451. text entry.  Please see the discussion of Cursor Directioning in the
  1452. Operations chapter.
  1453.  
  1454. Change fgnd.
  1455. This checkbox gadget's state determines whether foreground colors will be
  1456. affected during Attribute mode drawing.  Please see the discussion of
  1457. Attribute Mode under Editing Modes in the Operations chapter.
  1458.  
  1459. Change bgnd.
  1460. This checkbox gadget's state determines whether background colors will be
  1461. affected during Attribute mode drawing.  Please see the discussion of
  1462. Attribute Mode under Editing Modes in the Operations chapter.
  1463.  
  1464. Change attr.
  1465. This checkbox gadget's state determines whether character attributes will be
  1466. affected during Attribute mode drawing.  Please see the discussion of
  1467. Attribute Mode under Editing Modes in the Operations chapter.
  1468.  
  1469. Character Set window
  1470.  
  1471. The Character Set window allows you to view and access the entire character
  1472. set for the font you have chosen for text editing.  This font is distinctly
  1473. difference from the screen font.  Program-related stuff is displayed in the 
  1474. screen font, while the actual document text is displayed in the text font,
  1475. which is shown here.
  1476.  
  1477. Since many of the characters in a font are not accessible from the keyboard,
  1478. this window allows you to simply click on one of those characters and insert
  1479. it in the document at the cursor position.  A scroll bar is located at the far
  1480. right of the window, allowing you to peruse the available characters.
  1481.  
  1482. At the far left, there is a gap between the window's edge and the first column
  1483. of characters.  This space is provided for the current row marker.  This
  1484. marker is a dark red (in the ANSI color set) box positioned on the current
  1485. row.  Note that the current row is an absolute position, and may not be
  1486. visible if the scroll bar is used to scroll through the character set.
  1487. Clicking the mouse in the area to the left of a row of characters will cause
  1488. that to become the current row.
  1489.  
  1490. From any active document window, the eight characters in the current row may
  1491. be accessed by pressing any of the functions keys, F1 through F8.  Pressing
  1492. function keys F9 or F10 will decrement or increment, respectively, the current
  1493. row.
  1494.  
  1495. Control Panels
  1496.  
  1497. Save Panel
  1498.  
  1499. This panel allows you to specify the save parameters of a file before actually
  1500. saving it.
  1501.  
  1502. Save type
  1503. This cycle gadget allows you to change the type of file that will be saved.
  1504. The choices available are ANSI, IFF, and ASCII.  Note that the ASCII type is
  1505. not available when saving a file in Animation Editing Mode.
  1506.  
  1507. The ANSI type indicates that Luminus will save the file in standard ASCII
  1508. format with embedded ANSI codes for color, cursor movement, etc., as appro-
  1509. priate.
  1510.  
  1511. The IFF type indicates that the file will be saved in IFF format, as specified
  1512. by (the late) Commodore and Electronic Arts.  There are two different IFF
  1513. formats that Luminus understands.  See the 'IFF type' gadget below for more
  1514. details.
  1515.  
  1516. The ASCII type indicates that the file will be saved in standard ASCII format.
  1517. ANSI codes will not be saved with the file.  Again, this type is not available
  1518. in Animation Editing Mode.
  1519.  
  1520. IFF type
  1521. This cycle gadget allows you to choose from the IFF formats that Luminus
  1522. understands.  The IFF formats currently supported are FTXT CHRS and ANSI CEL.
  1523. See the Miscellaneous chapter for a further discussion of the IFF formats.
  1524.  
  1525. Line length
  1526. Specifies the maximum line length of a single line.  Luminus will not exceed
  1527. this value when saving to the file.  Some BBS software only allow a message's
  1528. lines to be a certain length, and since each character of an ANSI code
  1529. generally counts toward this, Luminus will start a new line if the ANSI code
  1530. would extend beyond this value.  This prevents ANSI codes from being obliter-
  1531. ated by a BBS's display routines.  This gadget is ghosted (not available) in
  1532. IFF save mode.
  1533.  
  1534. Video preparation
  1535. You may want the screen cleared before your animation in drawn, or the cursor
  1536. to be placed at the top-left corner of the screen.  This gadget allows you to
  1537. pick from certain types of codes that may be saved with your file before the
  1538. actual animation.
  1539.  
  1540. The video prep 'None' indicates that no codes should be saved first.  The v.p.
  1541. 'Home' will place a code that positions the cursor at the top-left corner
  1542. ('home' position).  The v.p. 'Clear screen' places a clear screen code before
  1543. the animation.
  1544.  
  1545. End-of-line type
  1546. Since Amigas, DOS machines, Macintoshes and UN*X machines handle newlines
  1547. differently, you can indicate that type of newline that will be saved in the
  1548. file.  The available types are 'CR only', 'CR + LF', and 'LF only'.
  1549.  
  1550. Use alt. escape?
  1551. This checkbox indicates whether you would like ANSI codes, which begin with
  1552. an escape character (ASCII code 27), saved with an alternate escape character,
  1553. which some BBS software use instead of the escape character.  The string
  1554. gadget next to the checkbox is where you indicate the alternate escape char-
  1555. acter.  These gadgets are only available in ANSI save mode.
  1556.  
  1557. Filter solid spaces?
  1558. This checkbox tells Luminus whether or not to treat solid spaces (ASCII code
  1559. 160) as normal spaces or leave them as they are.
  1560.  
  1561. Save
  1562. This button tells Luminus that you are satisfied with the current settings and
  1563. want to proceed with the save operation.
  1564.  
  1565. Cancel
  1566. This button tells Luminus that you've changed your mind and don't want to save
  1567. the file after all.  Clicking on the window's close gadget is equivalent to
  1568. clicking the Cancel button.
  1569.  
  1570. Edit Cel Panel
  1571.  
  1572. This panel allows you to edit individual aspects of a cel.  It provides finer
  1573. control and the ability to edit existing cels in an animation sequence.  Note
  1574. that when this window is first summoned, the cel being editing is the topmost
  1575. available cel in the animation sequence at that cursor position.  There may be
  1576. cels hidden beneath it.  See the description below of the Prev and Next
  1577. buttons for information on how to get to those cels.
  1578.  
  1579. This panel is only available in Animation Editing Mode.
  1580.  
  1581. Character
  1582. This string gadget shows the character at the current position.  This gadget's
  1583. character is shown in the screen font, as opposed to the text font, so the
  1584. character may look different.  Next to the string gadget is a display box that
  1585. shows the actual character, given colors and attributes in the text font.
  1586.  
  1587. Foreground
  1588. Background
  1589. These two palette gadgets allow you to change the foreground and background
  1590. colors of the cel.
  1591.  
  1592. Plain
  1593. Bold
  1594. Italics
  1595. Underline
  1596. Blink
  1597. Inverse
  1598. Concealed
  1599. The Plain button and all the attribute checkboxes here are the same func-
  1600. tionally as the corresponding gadgets in the Attributes interactive support
  1601. window.  (See that window's description above for more details.)
  1602.  
  1603. Change
  1604. When you edit the colors and attributes of the cel in this window, you are
  1605. only affecting a copy of the cel contents.  Clicking on this button makes the
  1606. changes take effect.
  1607.  
  1608. Prev
  1609. Next
  1610. Clicking on one of these two buttons causes Luminus to search further through
  1611. the animation sequence for underlying cels at the cursor position.  Next moves
  1612. deeper into the layer, Prev shallower.
  1613.  
  1614. Done
  1615. Clicking on this button tells Luminus that you are done editing cels.  The
  1616. window will close, and any changes made to the animation will take effect.
  1617.  
  1618. Text Panel
  1619.  
  1620. This panel window comes up when you select 'Text...' from the Text/Graphics
  1621. menu.  It allows you to input one or more lines of text that may be justified
  1622. in some manner and/or outlined.  The following sections provide detail on the
  1623. Text panel's gadgets.
  1624.  
  1625. Text
  1626. This scrolling list gadget allows you to enter the text that you wish to have
  1627. displayed.  Click on any line of text to edit it.  When the panel is first
  1628. opened, there will be no text in this list.  You can enter new text by click-
  1629. ing on the 'Add' gadget (see below).
  1630.  
  1631. The string input gadget at the bottom of the list is where you actually enter
  1632. the text.  Press Enter when you are finished with that line, and the text will
  1633. be placed in the list.
  1634.  
  1635. Add
  1636. Clicking on this button creates a new blank line at the bottom of the list of
  1637. text and activates the string gadget.
  1638.  
  1639. Delete
  1640. Clicking this button causes the currently selected line of text to be deleted
  1641. from the list.  Once deleted, the test is irretrievably gone.  If this list is
  1642. empty, this button will be ghosted.
  1643.  
  1644. Clear
  1645. Clicking on this button will clear the entire list of text.  You will be asked
  1646. to confirm this, since once the text is gone, you can't get it back (except by
  1647. retyping all of it!).
  1648.  
  1649. Line type
  1650. This cycle gadget allows you to select the type of line that you would like to
  1651. have surrounding your text.  See Line Types in the Operations chapter for more
  1652. detail on the available line types.  If you don't want a line, click this
  1653. gadget 'til it reads 'None'.
  1654.  
  1655. Bevel
  1656. If you would like the line around your text to have a bevelled appearance, use
  1657. this cycle gadget to select the bevel type.  The two types available are
  1658. 'Raised' and 'Recessed'.  If you want a normal line, select a bevel type of
  1659. 'None'.  This gadget is ghosted if the line type is set to 'None'.
  1660.  
  1661. Justification
  1662. If you would like your text justified in the document, use this cycle gadget
  1663. to specify the type of justification.  The available types are 'None', 'Left',
  1664. 'Center', and 'Right'.  All the justification types obey the margin values on
  1665. the Left and Right Margin gadgets (discussed below), except for 'None', which
  1666. places the text at the current cursor position.
  1667.  
  1668. Left margin
  1669. Right margin
  1670. These two integer gadgets let you specify the margin values to use when using
  1671. justification.  They default to the left and right edges of the document, but
  1672. you can change them to have text placed according to different settings.  The
  1673. margin values are bounds-checked against the document, and the left margin
  1674. cannot exceed the right margin value.
  1675.  
  1676. For example, you have an ANSI image that takes up the left side of an
  1677. 80-column wide document.  If you want your text centered on the right hand
  1678. side, you would set the justification to 'Center' and the margins to 41 for
  1679. the left, and 80 for the right.
  1680.  
  1681. These gadgets are ghosted if the justification is set to 'None'.
  1682.  
  1683. Okay
  1684. When you click this button, Luminus will first check to see that the text you
  1685. specified, taking into account line type, justification and margin values,
  1686. will fit into the visible portion of the document.  (The 'visible portion' is
  1687. the total document size, not the part that is only displayed in the window.
  1688. Luminus preserves cels that extend beyond the boundaries of the document's
  1689. specified width and height.)  If your specified text would go beyond the
  1690. boundaries, you have the option of returning to the Text panel to make changes
  1691. or to just tell Luminus to put it in the document anyway.  This button is
  1692. ghosted if the text list is empty.
  1693.  
  1694. Cancel
  1695. Clicking this button will abort the Text panel and return you to your document
  1696. with no changes made.
  1697.  
  1698. Replace Panel
  1699.  
  1700. This panel allows you to search for specific cels in the document, according
  1701. to their character, colors, and/or attributes, and replace specific parts of
  1702. said cels.  This panel is divided into two sections, both with exactly the
  1703. same gadgets.  These gadgets will be discussed together.
  1704.  
  1705. This panel is non-blocking, and will remain open after a replace operation is
  1706. completed, so that other documents may be affected.  Also, the search/replace
  1707. criteria are remembered even when the window is closed (only for the current
  1708. session), and will be reinstated if the panel is opened again during the
  1709. same editing session.
  1710.  
  1711. Character
  1712.  
  1713. This is the character to search for/replace.  Only one character is allowed.
  1714. The checkbox gadget to left of this gadget, when checked, indicates that the
  1715. search should check for a character matching this one (Search for), and/or
  1716. replace it with this character (Replace with).  If you have this one checked,
  1717. make sure you have a valid character in the string gadget, otherwise you'll
  1718. be searching for a NULL, which you'll never find!
  1719.  
  1720. Note that you don't have to have the corresponding gadget checked to use one
  1721. of these, i.e., you can have it search for a character, but you don't have
  1722. to replace it, or vice versa.  For example, you can set it up to search for
  1723. all cels that have a blue foreground, and tell it change their characters to
  1724. '+'.
  1725.  
  1726. Foreground/Background
  1727. These two sets of gadgets control whether you want the search criteria to
  1728. include the foreground/background color of the cel, and/or replace the cel's
  1729. foreground/background color.  Checking the checkbox to the left of these
  1730. gadgets adds that aspect to the search/replace criteria.  Search/replace
  1731. gadget correspondence, as noted above, applies to these gadgets as well.
  1732.  
  1733. Attribute
  1734. These six checkbox gadgets correspond to the appropriate text attributes of
  1735. the cel.  Checking the checkbox to the left includes attribute checking in
  1736. the search/replace criteria.
  1737.  
  1738. Note that at present, the search/replace is exclusive, i.e., cel attributes
  1739. must match EXACTLY for the search, and are replaced completely by the
  1740. replace attributes specified.  This may change in the future.
  1741.  
  1742. All cels?
  1743. This checkbox determines whether Luminus will search/replace cels only in the
  1744. top visible layer of the document, or all cels.  This can be tricky, depend-
  1745. ing on the Editing mode you're in.  For Animation mode, it affects all cels,
  1746. buried or visible, in the document when checked, only the top layer when not.
  1747. For Page mode, it affects all cels on all pages in the document when checked,
  1748. only the current page when not.
  1749.  
  1750. Replace
  1751. This button starts off the search/replace operation.
  1752.  
  1753. Close
  1754. Use this button (or the close gadget) to close this window, since it will
  1755. remain open between operations.
  1756.  
  1757. Display Settings Panel
  1758.  
  1759. This panel deals with the basic Intuition display aspects of Luminus, such as
  1760. screenmode, colors, etc.  Each of the gadgets used in this panel are discussed
  1761. below.
  1762.  
  1763. Screenmode list
  1764. This scrolling list gadget presents the available screenmodes with which you
  1765. may open a custom screen.  Simply click on the desired mode for the custom
  1766. screen.  The standard dimensions for that mode will be plugged into the Width
  1767. and Height gadgets (discussed below).  Luminus will always attempt to set the
  1768. screen depth at 4 bitplanes (16 colors).  If the specified screenmode doesn't
  1769. allow it, Luminus will choose the maximum allowable.  The selected screenmode
  1770. is only valid if the Custom Screen? checkbox is checked.
  1771.  
  1772. Custom screen?
  1773. This checkbox determines whether or not Luminus will attempt to open a custom
  1774. screen of type PUBLICSCREEN upon start-up.  All documents, unless otherwise
  1775. specified, will open on this screen.  This is the default behavior.
  1776.  
  1777. Width
  1778. Height
  1779. These two integer gadgets control the width and height of the custom screen.
  1780. They are bounds-checked with the dimensions in the display database.  These
  1781. gadgets are ghosted if Custom screen? is not checked.
  1782.  
  1783. Name
  1784. This string gadget specifies the name of the custom public screen which
  1785. Luminus will attempt to open.  This name is used as identification for other
  1786. windows, possibly from other programs, so they may open on it.  This gadget is
  1787. ghosted if Custom screen? is not checked.
  1788.  
  1789. Text font
  1790. This display gadget shows the currently selected text display font, which is
  1791. used in all of Luminus' document windows.  The accompanying button, when
  1792. clicked, will bring up the ASL font requester, from which you may choose a new
  1793. font.  This font must be a monospaced font.  The font type is checked upon
  1794. return from the font requester, and if a proportional font is selected, it
  1795. will be ignored, and the old font will remain in place.
  1796.  
  1797. Screen font
  1798. This display gadget shows the currently selected screen font, which will be
  1799. used on the custom screen which Luminus will attempt to open, if specified.
  1800. The accompanying button, when clicked, will bring up the ASL font requester,
  1801. from which you may choose a new font.  This setting is ignored if Custom
  1802. screen? is not checked.
  1803.  
  1804. Public screen
  1805. This string gadget lets you specify the name of the public screen on which
  1806. Luminus will attempt to open its documents.  This can be overridden (see New
  1807. and Open in the Menus chapter).
  1808.  
  1809. Colors
  1810. This set of gadgets affects the color settings of the custom screen as well as
  1811. the pens that will be used when drawing certain things, such as the cursor,
  1812. blocked text and the status line.
  1813.  
  1814. The first gadget is a cycle gadget.  This tells what item will be affected by
  1815. any color changes.  The first item, 'None', indicates that no item will be
  1816. changed, and using the accompanying palette gadget and red, green and blue
  1817. slider will only affect the palette.  The subsequent items are 'Status line
  1818. foreground', 'Status line background', 'Block foreground' and 'Block back-
  1819. ground'.  Clicking to one of these items changes the palette gadget and
  1820. sliders to reflect that setting's current pen.
  1821.  
  1822. Selecting a color from the palette gadget makes that color available for
  1823. editing with the sliders.  If the cycle gadget indicates anything other than
  1824. 'None', the color selected becomes the current pen for that setting as well.
  1825.  
  1826. The sliders allow you to change the red, green and blue content of a color.
  1827. Changes made are immediately apparent, but don't take effect unless the 'Use'
  1828. button is selected.
  1829.  
  1830. Use
  1831. When you click this button, Luminus checks to see if the screenmode, width,
  1832. height, depth or screen font have changed.  If any of them differ from the
  1833. current setting, Luminus will close its custom screen (if opened), and attempt
  1834. to reopen it (if set).  Should the text font differ from the current setting,
  1835. all document windows will be immediately refreshed to reflect the new font.
  1836.  
  1837. Cancel
  1838. Clicking this button will tell Luminus to ignore any and all changes made to
  1839. the display settings in the Display Settings panel, and will exit out of the
  1840. panel.
  1841.  
  1842. Operations Settings Panel
  1843.  
  1844. This panel lets you set the options regarding the general operations of
  1845. Luminus.
  1846.  
  1847. ARexx port base name
  1848. This string gadget allows you to enter the base name that will be used to name
  1849. the ARexx port of a document.  This name is suffixed with a numeric value to
  1850. give a unique derived port name  The default base name is 'LUMINUS'.
  1851.  
  1852. Status line format
  1853. This gadget contains a string with printf()-style formatting codes which
  1854. control how the status line is displayed.  Using these codes, you can custom-
  1855. ize the status line to look whichever way that floats your boat.  The follow-
  1856. ing codes are supported.
  1857.  
  1858.      Code      Meaning
  1859.      -------------------------------------------------------------------------
  1860.      %B        Block mode indicator ('Block' or nothing)
  1861.      %c        Column number
  1862.      %C        Caps Lock indicator ('Caps' or nothing)
  1863.      %D        Drawing mode indicator (verbose text; this code also reflects
  1864.                the current colors and text style)
  1865.      %E        Editing mode indicator (verbose text)
  1866.      %f        Filename of document
  1867.      %F        Complete path and filename of document
  1868.      %H        Horizontal direction indicator (verbose text)
  1869.      %I        Insert mode indicator ('Ins' or nothing)
  1870.      %l        Current line
  1871.      %L        Total number of cels in document
  1872.      %m        Modified flag ('*' (asterisk) or ' ' (space) for modified or
  1873.                not, respectively)
  1874.      %n        Current cel or page number (this code's value depends on the
  1875.                current editing mode of the document)
  1876.      %N        Num Lock indicator ('Num' or nothing; see the Operations
  1877.                chapter for information on the NumLock key)
  1878.      %P        ARexx port name of document
  1879.      %V        Vertical direction indicator (verbose text)
  1880.      %Y        Line type indicator (verbose text)
  1881.     %%        An asterisk
  1882.  
  1883. These codes can be combined with regular text for a completely custom-made
  1884. status line.
  1885.  
  1886. Clipboard unit
  1887. This is the clipboard unit number that each document will use by default when
  1888. accessing the Clipboard.
  1889.  
  1890. Console specification
  1891. This string gadget allows you to specify the attributes of any console window
  1892. that might be opened up, such as selecting Shell window from the Tools menu.
  1893. Please refer to your AmigaDOS manual for more information on the console.
  1894.  
  1895. Use AppIcon?
  1896. Having this checkbox checked tells Luminus to place its AppIcon on the
  1897. Workbench screen.  You can use the AppIcon to easily load documents or return
  1898. to Luminus without having to flip through screens.  Please see AppIcon,
  1899. AppWindows & AppMenuItem in the Operations chapter.
  1900.  
  1901. Show status line?
  1902. This checkbox determines whether Luminus' documents will display a status line
  1903. in their windows by default.  This behavior can be controlled in each indivi-
  1904. dual document as well.
  1905.  
  1906. Status line at top?
  1907. This checkbox determines whether the status line (if displayed) will be at the
  1908. top or bottom of the window.  This is a global flag and applies to all
  1909. document windows.
  1910.  
  1911. Open attributes window?
  1912. Open switches window?
  1913. Open character set window?
  1914. These three checkboxes tell Luminus whether or not to open the respective
  1915. interactive support windows upon start-up.  See Interactive Support Windows
  1916. above.
  1917.  
  1918. Beep on error?
  1919. This checkbox tells Luminus to execute a DisplayBeep() (an Intuition function
  1920. that flashes the screen and sounds a (pitiful) tone) when an error occurs.
  1921.  
  1922. Ask before quitting?
  1923. This checkbox tells Luminus whether or not to confirm a quit action.  This
  1924. flags only applies when quitting using the Quit menu item.  If a document is
  1925. closed using the Close item, and it's the last document, Luminus will shut
  1926. down automagically without confirmation.
  1927.  
  1928. Use
  1929. Clicking this button puts the current display settings into effect.
  1930.  
  1931. Cancel
  1932. Clicking this button, on the other hand, exits this panel and puts all changed
  1933. settings into the bit-bucket (it ignores them).
  1934.  
  1935. Document Settings Panel
  1936.  
  1937. This control panel lets you control the settings that apply to Luminus'
  1938. documents.
  1939.  
  1940. Width
  1941. Height
  1942. These two integer gadgets let you specify the maximum displayable dimensions
  1943. of your documents.  These settings only affect what Luminus will display in
  1944. the document's window.  Cels that extend beyond these boundaries are
  1945. preserved.
  1946.  
  1947. Pages
  1948. This is the default number of pages a document will support upon initial open.
  1949. The actual number of pages can be changed from the Page menu.  This setting
  1950. only applies in Page Editing Mode, since animation sequences do not have
  1951. pages.
  1952.  
  1953. Foreground/Background
  1954. Cycle?
  1955. The cycle gadget of this group of gadgets controls which (foreground or back-
  1956. ground) will be affected by the palette gadget and Cycle? checkbox.  Choose a
  1957. color from the palette gadget to make that color current for the setting shown
  1958. in the cycle gadget.  Click on the checkbox to set or unset default color
  1959. cycling for the appropriate setting.
  1960.  
  1961. Edit mode
  1962. This cycle gadget sets the default editing mode of each document upon initial
  1963. open.  The currently available modes are 'Page' and 'Animation'.  The default
  1964. is 'Animation'.
  1965.  
  1966. Draw mode
  1967. This cycle gadget sets the default drawing mode of each document upon initial
  1968. open.  The currently available modes are 'Text' and 'Attribute'.  The default
  1969. is 'Text'.
  1970.  
  1971. Vertical direction
  1972. Horizontal direction
  1973. These two cycle gadgets set the default vertical and horizontal cursor
  1974. movement upon initial open.  You can choose from 'None', 'Up' and 'Down' for
  1975. vertical, and 'None', 'Left' and 'Right' for horizontal.  The defaults are
  1976. 'None' for vertical and 'Right' for horizontal.
  1977.  
  1978. Borderless?
  1979. This checkbox determines whether Luminus' document windows will be opened with 
  1980. a standard Intuition window border, complete with close gadget; title/drag
  1981. bar; zoom, depth and sizing gadgets; and vertical and horizontal scrollers.
  1982. The default is a borderless window.
  1983.  
  1984. Destructive backspace?
  1985. This setting determines whether the backspace key, when pressed, will delete
  1986. the cel onto which it moves.  See the Operation chapter for information on the
  1987. behavior of 'editing keys'.
  1988.  
  1989. Show ruler?
  1990. This setting determines whether the Ruler will be displayed by default in the
  1991. documents' windows.  The ruler is a pair of lines that intersect at the mouse
  1992. pointer.  By default, the ruler is not shown.
  1993.  
  1994. Show ruler hashes?
  1995. This setting determines whether the Ruler (if displayed) will have hash marks
  1996. drawn perpendicular to its edges at character width/height intervals.  The
  1997. hash marks are centered on the character position.  By default, hash marks are
  1998. not shown in the 68000/010 version, and are shown in the 68020+ versions.
  1999.  
  2000. Show ruler numbers?
  2001. This setting determines whether the Ruler (if displayed with hash marks on)
  2002. will have position numbers displayed adjacent to the hash marks.  The numbers
  2003. are displayed either to the left or above the hash marks, as appropriate.  By
  2004. default, numbers are not shown in the 68000/010 version, and are shown in the
  2005. 68020+ versions.
  2006.  
  2007. Interval
  2008. This setting controls the interval at which the Ruler's numbers (if shown) are
  2009. drawn.  The numbers will start at this number, and are displayed in this inc-
  2010. rement.  For example, a setting of 10 will display every tenth ruler number
  2011. starting at 10.  The default value is 5.
  2012.  
  2013. Use
  2014. Clicking this button enacts the settings.
  2015.  
  2016. Cancel
  2017. Clicking this button ignores any changed settings in this panel and returns
  2018. you to the document.
  2019.  
  2020. File Settings Panel
  2021.  
  2022. This control panel affects the settings concerning how Luminus saves and loads
  2023. its files.
  2024.  
  2025. Save type
  2026. This cycle gadget allows you to set the type of file which will be saved when
  2027. you select Save or Save as from the Project menu.  The currently available
  2028. types are 'ANSI' and 'IFF'.  The default is 'ANSI'.
  2029.  
  2030. IFF type
  2031. If you elect to save file as type IFF, this cycle gadget lets you determine
  2032. which IFF format will be used.  The available formats are ANSI CEL, which is a
  2033. proprietary IFF format Luminus uses, or FTXT CHRS, which most IFF-compliant
  2034. word processors, as well as the Amiga's standard clipboard, understand.
  2035.  
  2036. Line length
  2037. This integer gadget determines the maximum length of a saved line before a
  2038. CR(/LF) is appended.  This allows Luminus to save documents so that lines will
  2039. not extend beyond some BBS software's maximum line lengths.
  2040.  
  2041. Video preparation
  2042. This cycle gadget lets you choose the type of video preparation that will
  2043. precede your file when it is saved.  The available types are 'None', 'Home
  2044. cursor', and 'Clear screen'.  'None' will not put anything before your data,
  2045. obviously.  'Home' will put an ANSI code to place the cursor at the top left
  2046. corner of the screen.  'Clear' will place in ANSI code that will clear the
  2047. screen before the file is drawn.
  2048.  
  2049. End-of-line type
  2050. This cycle gadget allows you to choose the type of EOL that will be saved with
  2051. your documents.  The avail able types are 'CR only', 'LF only', and 'CR + LF'.
  2052. The default is 'CR + LF'.
  2053.  
  2054. Header
  2055. This string gadget allows you to enter any text and/or control codes that you
  2056. wish to have saved at the beginning of every document, before ANY document
  2057. contents are saved.  You may type in any valid ASCII text.  To enter control
  2058. characters, escape sequences and the like, use the following:
  2059.  
  2060.      Control characters
  2061.      These are prefixed with the character '^', and can be any valid letter,
  2062.      i.e., 'A' through 'Z'.  All other characters are translated literally.
  2063.  
  2064.      Escape sequences
  2065.      These are prefixed with the character '\'.  The following are valid
  2066.      sequences; all other characters are translated literally:
  2067.  
  2068.           Escape char      Meaning
  2069.           -----------------------------------------------------
  2070.           e                Escape code (ASCII 27)
  2071.           t                Tab character (ASCII 9)
  2072.  
  2073.      ASCII codes
  2074.      These are prefixed by the character '*'.  The ASCII code should be any
  2075.      decimal number from 1 to 3 characters is length.  The first non-numeric
  2076.     character encountered terminates the ASCII code.  For example, I enter
  2077.      the code '*4Bang!'.  This would be interpreted as ASCII code 4, since
  2078.      the 'B' in bang is not numeric.  If the next character after the ASCII
  2079.      code is a digit, I would have to enter it thus: '*00499 is a babe.',
  2080.      which would also translate to ASCII code 4, and then continue with
  2081.      '99 is a babe.'  Is this clear now?
  2082.  
  2083. Footer
  2084. This string gadget allows you to enter any text and/or control codes that you
  2085. wish to have saved at the end of every document, AFTER all document contents
  2086. are saved.  You may type in any valid ASCII text.  To enter control char-
  2087. acters, escape sequences and the like, use the table described in Header
  2088. above.
  2089.  
  2090. Use alt. escape?
  2091. Some BBS software, instead of using the standard escape character (ASCII code
  2092. 27), use an alternate character, such as '@' or '`', for their ANSI escape
  2093. sequences.  Checking this box tells Luminus to use an alternate character when
  2094. saving files.  The string gadget next to it is where you input the character
  2095. to use.
  2096.  
  2097. Filter solid spaces?
  2098. Checking this checkbox tells Luminus to convert incoming or outgoing solid,
  2099. or "hard", spaces (ASCII code 160) to normal spaces.
  2100.  
  2101. Prompt on save?
  2102. Checking this gadget sets the flag that causes the Save panel (see above) to
  2103. pop up before a file is saved.  This allows you to change the save attributes
  2104. for each file without having to change the defaults.
  2105.  
  2106. Filter stray escapes?
  2107. ANSI codes, by definition, always begin with the character sequence "esc[",
  2108. where 'esc' stands for the ASCII escape character, code 27.  If Luminus should
  2109. encounter an "stray" escape character, i.e., one not belonging to a valid ANSI
  2110. sequence, this flag determines how it handles them.  If the flag is on, these
  2111. escapes will be filtered out of the file.  If it is off, they will remain as
  2112. part of the file, but will never be displayed.
  2113.  
  2114. I/O Buffer size
  2115. This integer gadget allows you to set the size of the buffer Luminus will use
  2116. for input and output.  This buffer speeds disk access and generally makes
  2117. loading and saving files quicker.  As a rule of thumb, the larger the buffer,
  2118. the quicker the file access; but you must be careful not to make the buffer
  2119. too large.  Note that this value is in kilobytes (KB), not bytes.
  2120.  
  2121. Timed backups
  2122. Interval
  2123. These two gadgets affect whether Luminus will execute a timed backup during
  2124. your editing sessions.  The checkbox turns the feature on, and the integer
  2125. gadget sets the amount of time (in minutes) that must pass before Luminus does
  2126. an automatic backup.
  2127.  
  2128. Directory
  2129. This is the directory in which Luminus will saved your backed up files.  This
  2130. directory applies to timed backups (above) as well as file backups (below).
  2131. If this is blank, the file's current directory is assumed.
  2132.  
  2133. Extension
  2134. This is the extension that will be appended to any files that Luminus backs
  2135. up, either via timed backup or through the Save original? flag (below).  You
  2136. do not have to add a period at the beginning of the extension; this will be
  2137. done for you.  If this is blank, no extension is added.
  2138.  
  2139. For example, Luminus backs up the file 'Logon.ansi', which you are editing.
  2140. You have the backup extension set at "backup".  The file will be saved into
  2141. the backup directory as 'Logon.ansi.backup'.
  2142.  
  2143. NOTE      Luminus will attempt to handle backups intelligently.  If the backup
  2144.           directory AND extension are both blank, the resulting path and
  2145.           filename would overwrite the original file, which defeats the
  2146.           purpose of the backup.  So if this case is detected, Luminus will
  2147.           add just the '.' (period) to the end of the filename to create a
  2148.           (possibly) unique filename, preventing an overwrite.  This is not
  2149.           possible with a filename that is the maximum length AmigaDOS allows.
  2150.  
  2151. Save original?
  2152. Setting this flags tells Luminus to preserve the original file when doing a
  2153. normal Save (Save as is not affected, since it allows you to explicitly
  2154. overwrite a file).  The file will be backed up into the specified directory,
  2155. using the specified extension.
  2156.  
  2157. Use
  2158. Click this button to make the changes you've made in this panel take effect.
  2159.  
  2160. Cancel
  2161. Clicking on this button aborts the panel and ignores any changes made therein.
  2162.  
  2163. Box & Line Settings Panel
  2164.  
  2165. This panel controls the settings concerning boxes and lines used in Luminus.
  2166.  
  2167. Line type
  2168. This cycle gadget allows you to set the default line type that will be used by
  2169. each document.
  2170.  
  2171. Box codes
  2172. These are the unlabeled boxes that take up most of the panel's real estate.
  2173. Each box corresponds to a part of a whole box, like so:
  2174.  
  2175.      +-----+ +-----+ +-----+ +-----+
  2176.      |  1  | |  2  | |  3  | |  4  |
  2177.      +-----+ +-----+ +-----+ +-----+
  2178.  
  2179.      +-----+         +-----+ +-----+
  2180.      |  5  |         |  6  | |  7  |
  2181.      +-----+         +-----+ +-----+
  2182.  
  2183.      +-----+ +-----+ +-----+ +-----+
  2184.      |  8  | |  9  | |  10 | |  11 |
  2185.      +-----+ +-----+ +-----+ +-----+
  2186.  
  2187.      +-----+ +-----+ +-----+ +-----+
  2188.      |  12 | |  13 | |  14 | |  15 |
  2189.      +-----+ +-----+ +-----+ +-----+
  2190.  
  2191. These gadgets allow you to enter the specific characters to use for each of
  2192. the box parts when drawing a box using the Custom line type.  The box numbers
  2193. are as follows:
  2194.  
  2195.      Number    Box part type
  2196.      --------------------------------------------------------------
  2197.         1      Upper-left corner
  2198.         2      Upper cross-beam
  2199.         3      Upper intersection
  2200.         4      Upper-right corner
  2201.         5      Left cross-beam
  2202.         6      Middle vertical cross-beam
  2203.         7      Right cross-beam
  2204.         8      Left intersection
  2205.         9      Middle horizontal cross-beam
  2206.        10      Middle intersection
  2207.        11      Right intersection
  2208.        12      Lower-left corner
  2209.        13      Lower cross-beam
  2210.        14      Lower intersection
  2211.        15      Lower-right corner
  2212.  
  2213. Use
  2214. Clicking on this button makes any changes made in this panel take effect.
  2215.  
  2216. Cancel
  2217. Click this button to abort the panel and ignore any changes made in it.
  2218.  
  2219. Requesters
  2220.  
  2221. Select Public Screen
  2222.  
  2223. This requester presents you with a scrolling list of all the currently opened
  2224. public screens.  From this list you may select a screen name and click the Use
  2225. button, or double-click the desired screen name.  Selecting Cancel or the
  2226. window's close gadget backs out of the requester with no action being taken.
  2227.  
  2228. If the Select Public Screen requester is called as a result of a screen jump
  2229. request, an additional gadget is available.  This is the Move all windows
  2230. gadget.  If this checkbox is checked when a public screen is chosen, then all
  2231. windows, not just the initiating window, will be affected.  This gadget is not
  2232. available if the requester is called from a New or Open Document request.
  2233.  
  2234. Choose Color
  2235.  
  2236. This requester presents you with a palette gadget from which to choose the
  2237. desired color, such as changing the foreground or background color.  Click
  2238. Use to make the change take effect, Cancel to back out.
  2239.  
  2240. String/Integer Input
  2241.  
  2242. This requester presents a string or integer gadget, with appropriate prompt-
  2243. ing, for user input.  Clicking the Use button or pressing carriage return from
  2244. the gadget effect the change, which clicking the close gadget or the Cancel
  2245. button back out with no action taken.
  2246.  
  2247. ARexx
  2248.  
  2249. This chapter discusses the ARexxTM commands available to you via Luminus'
  2250. ARexx interface.
  2251.  
  2252. Each document in Luminus has its own ARexx port, and may receive any command,
  2253. including commands that affect global settings.  The port name for any
  2254. document can be found by selecting the About item in the Project menu.
  2255.  
  2256. Some commands return results in the ARexx variable result, so you must be sure
  2257. to set OPTIONS RESULTS in your scripts.  If you do not, you will get an
  2258. OPTIONS_RESULTS_NOT_SET returned in rc, and you don't want that, now do you?
  2259.  
  2260. Some command are also only available in certain editing or drawing modes, or
  2261. when a block is selected, so please be sure to read the command's description.
  2262. Commands used while not in a certain mode usually return
  2263. COMMAND_NOT_AVAILABLE in rc.
  2264.  
  2265. Command Conventions
  2266.  
  2267. The following convention is used for each ARexx command discussed in this
  2268. chapter:
  2269.  
  2270. Command
  2271.  
  2272.    Synopsis  Arguments and options for the command.  The command name is shown
  2273.              first, followed by any required and/or optional parameters.
  2274.              Parameters in all lower-case, such as
  2275.  
  2276.                     SaveSettings file
  2277.  
  2278.              are substituted with something, like a filename.  Some parameters
  2279.              can be supplied multiple times, such as filenames in the Open
  2280.              command.  These parameters are followed by ellipses, like so:
  2281.  
  2282.                     Open file...
  2283.  
  2284.              If the parameter has square brackets around it, like this
  2285.  
  2286.                     Save [file]
  2287.  
  2288.              then it is optional.  Parameter with no brackets, like the first
  2289.              two above, are required, and must be supplied for the command to
  2290.              work as documented.  Keywords, which must be supplied as typed
  2291.              (except for case), are shown in all capitals, like this:
  2292.  
  2293.                     Ruler ON|OFF
  2294.  
  2295.              Also, the vertical bar that separates ON and OFF in the above
  2296.              command means that you can choose from any of the items there for
  2297.              that parameter.  So the above command could be Ruler ON, or Ruler
  2298.              OFF.  Simple, eh?
  2299.  
  2300.     Purpose  A brief description of the command.
  2301.  
  2302. Description  A detailed explanation of the command and its options, with
  2303.              examples as necessary.  If a command is usable in a certain mode,
  2304.              this is discussed here as well.  Some commands return results in
  2305.              result; the format is also described here.
  2306.  
  2307.    See Also  One or more references to other ARexx commands or sections in
  2308.              the manual for further explanation.
  2309.  
  2310. ARexx Commands
  2311.  
  2312. Luminus' supported ARexx commands are discussed below.
  2313.  
  2314. ActivateWindow
  2315.  
  2316.    Synopsis  ActivateWindow
  2317.  
  2318.     Purpose  Make this document's window active.
  2319.  
  2320. Description  This command causes the window associated with the document from
  2321.              whose ARexx port this command is received to become the input
  2322.              focus, or active window.
  2323.  
  2324.    See Also  None
  2325.  
  2326. AtCursor
  2327.  
  2328.    Synopsis  AtCursor
  2329.  
  2330.     Purpose  Grab the attributes at the current cursor position.
  2331.  
  2332. Description  AtCursor grabs the foreground and background colors and character
  2333.              attributes at the cursor position.  This command obeys the
  2334.              current Attribute Mode flags, so if a particular flag is not set,
  2335.              such as foreground color, that attribute will be ignored.  This
  2336.              way you can grab only the attributes you want.
  2337.  
  2338.    See Also  AttrMode
  2339.  
  2340. Attribute
  2341.  
  2342.    Synopsis  Attribute [PLAIN] [BOLD] [ITALICS] [UNDERLINE] [BLINK] [INVERSE]
  2343.                        [CONCEALED]
  2344.  
  2345.     Purpose  Inquire about or change the current attributes.
  2346.  
  2347. Description  Specify any of the parameters to toggle that state of that
  2348.              attribute.  The PLAIN parameter is a switch (as opposed to the
  2349.              others, which are toggles).  Using plain in combination with the
  2350.              other parameters allows you to completely reset the attributes
  2351.              without having to check on their current state and toggle the
  2352.              appropriate ones on or off.  For example, the current attributes
  2353.              are BOLD and UNDERLINE.  You want to change them to ITALICS.
  2354.              Simply issue the following command:
  2355.  
  2356.                     Attribute PLAIN ITALICS
  2357.  
  2358.              This will turn off all the attributes, and then turn on italics.
  2359.  
  2360.              Issuing this command without any of the parameters specified
  2361.              returns the currently set attributes as a text string in result.
  2362.              For example, if Italics and underlining were active, Attribute
  2363.              (with no parameters) would return:
  2364.  
  2365.                     "ITALICS UNDERLINE"
  2366.  
  2367.    See Also  None
  2368.  
  2369. AttrMode
  2370.  
  2371.    Synopsis  AttrMode [[NO]FORE[GROUND]] [[NO]BACK[GROUND]] [[NO]ATTR[IBUTE]]
  2372.  
  2373.     Purpose  Change the attribute mode flags.
  2374.  
  2375. Description  This command sets the Attribute mode flags.  These flags affect
  2376.              what attributes of cels are affected during Attribute Mode
  2377.              Drawing, as well as filtering which attributes are taken upon
  2378.              execution of the AtCursor command.
  2379.  
  2380.              Specifying any of the parameters prefixed with NO shuts that
  2381.              attribute off.  Otherwise, it is turned on.
  2382.  
  2383.              AttrMode returns the current Attribute mode flags in result as
  2384.              follows:
  2385.  
  2386.                     "foregnd-flag backgnd-flag attr-flag"
  2387.  
  2388.              where each -flag is either ON or OFF.
  2389.  
  2390.    See Also  DrawMode, AtCursor
  2391.  
  2392. BackgroundPen
  2393.  
  2394.    Synopsis  BackgroundPen [pen] [[NO]CYCLE]
  2395.  
  2396.     Purpose  Change the background drawing pen.
  2397.  
  2398. Description  This command changes the background color used for text and
  2399.              drawing.  The pen parameter accepts a color register number as
  2400.              its argument, starting at pen 0 to the maximum pen usable on the
  2401.              screen.  If the CYCLE keyword is supplied, the background color
  2402.              cycling flag is turned on.  NOCYCLE turns it off.
  2403.  
  2404.              BackgroundPen returns the current background pen and cycle flag
  2405.              in result as follows:
  2406.  
  2407.                     "pen-number cycle-flag"
  2408.  
  2409.              where pen-number is the numeric color register, and cycle-flag
  2410.              is either CYCLE or NOCYCLE.
  2411.  
  2412.    See Also  TextPen
  2413.  
  2414. BevelBox
  2415.  
  2416.    Synopsis  BevelBox left top width height bevel [line-type [character]]
  2417.  
  2418.     Purpose  Draw a box with a beveled appearance.
  2419.  
  2420. Description  The first five parameters are required, and specify the dim-
  2421.              ensions of the box to be drawn, and the bevel type.  Valid bevel
  2422.              types are RAISED and RECESSED.  The line-type parameter is the
  2423.              line type with which to draw the box.  Valid line types are
  2424.              SINGLE, DOUBLE, SINGLEDOUBLE, DOUBLESINGLE, CUSTOM and SELECT.
  2425.              If the SELECT line type is used, you must specify the character
  2426.              to use in character.
  2427.  
  2428.    See Also  Box, TextBox
  2429.  
  2430. Border
  2431.  
  2432.    Synopsis  Border [ON|OFF]
  2433.  
  2434.     Purpose  Turn on or off the document window's border.
  2435.  
  2436. Description  This command tells Luminus to open the document's window with or
  2437.              without a standard Intuition window border, complete with close
  2438.              gadget, title/drag bar, zoom, depth and sizing gadgets, and
  2439.              vertical and horizontal scrollers.  If the current state of the
  2440.              window differs from the desired one, the window will be closed
  2441.              and reopened in the requested state.  The parameters are quite
  2442.              obvious, I hope.
  2443.  
  2444.              Border returns the current state (ON or OFF) in result.
  2445.  
  2446.    See Also  None
  2447.  
  2448. Box
  2449.  
  2450.    Synopsis  Box left top width height [line-type [character]]
  2451.  
  2452.     Purpose  Draw a box.
  2453.  
  2454. Description  The first four parameters are required, and specify the dim-
  2455.              ensions of the box to be drawn.  The line-type parameter is the
  2456.              line type with which to draw the box.  Valid line types are
  2457.              SINGLE, DOUBLE, SINGLEDOUBLE, DOUBLESINGLE, CUSTOM and SELECT.
  2458.              If the SELECT line type is used, you must specify the character
  2459.              to use in character.
  2460.  
  2461.    See Also  BevelBox, TextBox
  2462.  
  2463. BoxLineSettings
  2464.  
  2465.    Synopsis  BoxLineSettings
  2466.  
  2467.     Purpose  Bring up the Box & Line Settings panel.
  2468.  
  2469. Description  Issuing this command brings up the Box & Line Settings panel.
  2470.  
  2471.    See Also  DisplaySettings, OpsSettings, FileSettings, DocumentSettings
  2472.  
  2473. ChangeWindow
  2474.  
  2475.    Synopsis  ChangeWindow left top width height
  2476.  
  2477.     Purpose  Change the current window's size and position.
  2478.  
  2479. Description  This command's parameters any value of zero or greater for left
  2480.              or top, and any positive value greater than or equal to 100 for
  2481.              width, and 75 for height.  The window, if its ultimate size and
  2482.              position would extend beyond the screen's boundaries, will first
  2483.              be moved and then resized to fit into the screen.
  2484.  
  2485.    See Also  ZoomWindow, UnZoomWindow, MoveWindow, SizeWindow
  2486.  
  2487. Clear
  2488.  
  2489.    Synopsis  Clear PAGE|DOCUMENT [FORCE]
  2490.  
  2491.     Purpose  Clear part or all of the current document.
  2492.  
  2493. Description  This command will clear larger portions of the document than are
  2494.              normally handles by Cut, Erase and their ilk.  The first para-
  2495.              meter can be either PAGE or DOCUMENT.  Specifying PAGE (which is
  2496.              only available in Page Editing mode), clears the current page.
  2497.              If this parameter is used in any other mode, INVALID_PARAMETER is
  2498.              returned in rc.  If DOCUMENT is specified, the entire document is
  2499.              cleared.  The second parameter, FORCE, suppressed the 'are you
  2500.              sure?' requester that normally comes up.
  2501.  
  2502.    See Also  None
  2503.  
  2504. Close
  2505.  
  2506.    Synopsis  Close [FORCE]
  2507.  
  2508.     Purpose  Close the current document.
  2509.  
  2510. Description  This command tells Luminus to shut the current document's window
  2511.              and free all associated memory for that document.  The FORCE
  2512.              parameter tells Luminus to suppress the requester that would
  2513.              appear if you had made changes to the document since its last
  2514.              save.
  2515.  
  2516.    See Also  None
  2517.  
  2518. CloseAttributes
  2519.  
  2520.    Synopsis  CloseAttributes
  2521.  
  2522.     Purpose  Close the Attributes interactive support window.
  2523.  
  2524. Description  This command closes the Attributes interactive support window if
  2525.              it is open.  If it isn't, nothing happens.
  2526.  
  2527.    See Also  OpenAttributes, OpenCharSet, CloseCharSet, OpenSwitches,
  2528.              CloseSwitches
  2529.  
  2530. CloseCharSet
  2531.  
  2532.    Synopsis  CloseCharSet
  2533.  
  2534.     Purpose  Close the Character Set interactive support window.
  2535.  
  2536. Description  This command closes the Character Set interactive support window
  2537.              if it is open.  If it isn't, nothing happens.
  2538.  
  2539.    See Also  OpenAttributes, CloseAttributes, OpenCharSet, OpenSwitches,
  2540.              CloseSwitches
  2541.  
  2542. CloseSwitches
  2543.  
  2544.    Synopsis  CloseSwitches
  2545.  
  2546.     Purpose  Close the Switches interactive support window.
  2547.  
  2548. Description  This command closes the Switches interactive support window if it 
  2549.              is open.  If it isn't, nothing happens.
  2550.  
  2551.    See Also  OpenAttributes, CloseAttributes, OpenCharSet, CloseCharSet,
  2552.              OpenSwitches
  2553.  
  2554. CmdShell
  2555.  
  2556.    Synopsis  CmdShell [console-specification] [STARTUP[=]startup-file]
  2557.  
  2558.     Purpose  Start an AmigaDOS shell process.
  2559.  
  2560. Description  This command starts a new AmigaDOS shell process.  If the
  2561.              console-specification is provided, that will be used, otherwise
  2562.              the console specification in the Operations Settings panel is
  2563.              used.  You can specify a start-up file using the STARTUP para-
  2564.              meter.  If this is not provided, 's:Shell-Startup' is assumed.
  2565.  
  2566.    See Also  None
  2567.  
  2568. Column
  2569.  
  2570.    Synopsis  Column INSERT|DELETE
  2571.  
  2572.     Purpose  Insert or delete columns.
  2573.  
  2574. Description  Using the INSERT switch, you can insert a blank column at the
  2575.              cursor position, moving all columns on the right over to the
  2576.              right to accommodate the new column.  Columns that get moved
  2577.              outside the bounds of the document are not lost.
  2578.  
  2579.              The DELETE switch eliminates the column under the cursor and
  2580.              moves everything to the right over to fill its space.
  2581.  
  2582.    See Also  Line
  2583.  
  2584. Copy
  2585.  
  2586.    Synopsis  Copy
  2587.  
  2588.     Purpose  Copy blocked text to the clipboard.
  2589.  
  2590. Description  Copy, as opposed to Cut, grabs the currently blocked text and
  2591.              puts it in the clipboard, but does not remove it from the
  2592.              document.  The block is deselected upon completion of the copy.
  2593.              The selected clipboard unit for the current document is used.
  2594.  
  2595.              COMMAND_NOT_AVAILABLE is returned in rc if this command is used
  2596.              when no block is active.
  2597.  
  2598.    See Also  Cut, Paste, Erase, Delete
  2599.  
  2600. CreateIcons
  2601.  
  2602.    Synopsis  CreateIcons [ON|OFF]
  2603.  
  2604.     Purpose  Inquire about or alter the CreateIcons flag.
  2605.  
  2606. Description  If you specify either the ON or OFF parameter with this command,
  2607.              the CreateIcons flag will be changed to that state.
  2608.  
  2609.              This command returns the current state in result.
  2610.  
  2611.    See Also  None
  2612.  
  2613. Cursor
  2614.  
  2615.    Synopsis  Cursor UP|DOWN|LEFT|RIGHT [amount] [SHIFT] [ALT] [CONTROL]
  2616.  
  2617.     Purpose  Move the cursor around.
  2618.  
  2619. Description  The first parameter specifies the direction in which to move the
  2620.              cursor.  If the amount parameter is specified, the cursor will be
  2621.              moved that many positions in the specified direction.  Any of the
  2622.              switches, SHIFT, ALT or CONTROL, alter the effects of the cursor
  2623.              key just as if you had the appropriate key pressed.  See the
  2624.              Operations chapter on the effects of qualifier keys on cursor
  2625.              movement.
  2626.  
  2627.    See Also  Position
  2628.  
  2629. Cut
  2630.  
  2631.    Synopsis  Cut
  2632.  
  2633.     Purpose  Remove blocked text to the clipboard.
  2634.  
  2635. Description  This command grabs the currently blocked text (cels), puts them
  2636.              in the clipboard, and removes them from the document.  The
  2637.              selected clipboard unit for the current document is used.
  2638.  
  2639.              COMMAND_NOT_AVAILABLE is returned in rc if this command is used
  2640.              when no block is active.
  2641.  
  2642.    See Also  Copy, Paste, Erase, Delete
  2643.  
  2644. Delete
  2645.  
  2646.    Synopsis  Delete
  2647.  
  2648.     Purpose  Deletes a block from the current document.
  2649.  
  2650. Description  This command acts like Cut, removing blocked text from the
  2651.              document, except that it does not copy anything to the clipboard;
  2652.              the text is just removed.  Note that this command differs from
  2653.              Erase only in that it creates a "vacuum" that pulls anything to
  2654.              the right of the block in to fill the vacated space, whereas
  2655.              Erase leaves empty space where the removed text was previously.
  2656.  
  2657.              COMMAND_NOT_AVAILABLE is returned in rc if this command is used
  2658.              when no block is active.
  2659.  
  2660.    See Also  Cut, Erase
  2661.  
  2662. DeletePage
  2663.  
  2664.    Synopsis  DeletePage [FORCE]
  2665.  
  2666.     Purpose  Remove a page from the document.
  2667.  
  2668. Description  This command completely removes the current page from the
  2669.              document.  You will be prompted for confirmation of this.  Using
  2670.              the FORCE parameter suppresses this requester.
  2671.  
  2672.              This command is only available in Page Editing Mode.  Issuing it
  2673.              in any other mode results in a COMMAND_NOT_AVAILABLE error being
  2674.              returned in rc.
  2675.  
  2676.    See Also  NewPage
  2677.  
  2678. DeselectBlock
  2679.  
  2680.    Synopsis  DeselectBlock
  2681.  
  2682.     Purpose  Unmark the current block.
  2683.  
  2684. Description  This command unmarks the currently selected block and takes the
  2685.              document out of Block mode.
  2686.  
  2687.    See Also  SelectBlock
  2688.  
  2689. DisplaySettings
  2690.  
  2691.    Synopsis  DisplaySettings
  2692.  
  2693.     Purpose  Bring up the Display Settings panel.
  2694.  
  2695. Description  Issuing this command brings up the Display Settings panel.
  2696.  
  2697.    See Also  OpsSettings, FileSettings, DocumentSettings, BoxLineSettings
  2698.  
  2699. DocumentSettings
  2700.  
  2701.    Synopsis  DocumentSettings
  2702.  
  2703.     Purpose  Bring up the Document Settings panel.
  2704.  
  2705. Description  Issuing this command brings up the Document Settings panel.
  2706.  
  2707.    See Also  DisplaySettings, OpsSettings, FileSettings, BoxLineSettings
  2708.  
  2709. DrawMode
  2710.  
  2711.    Synopsis  DrawMode [TEXT|ATTR]
  2712.  
  2713.     Purpose  Change the current Drawing Mode.
  2714.  
  2715. Description  This command changes to the desired Drawing Mode.  Currently,
  2716.              TEXT and ATTR modes are the only ones available.  Future versions
  2717.              of Luminus may support additional modes.  See the Operations
  2718.              chapter for details on each of the Drawing Modes.
  2719.  
  2720.              DrawMode returns the current Drawing Mode in result.
  2721.  
  2722.    See Also  EditMode
  2723.  
  2724. EditCel
  2725.  
  2726.    Synopsis  EditCel [CHAR[ACTER][=]c] [ASCII[=]num] [FORE[GROUND][=]pen]
  2727.                      [BACK[GROUND][=]pen] [PLAIN] [BOLD] [ITALICS] [UNDERLINE]
  2728.                      [BLINK] [INVERSE] [CONCEALED]
  2729.  
  2730.     Purpose  Change the parts of a cel.
  2731.  
  2732. Description  Using this command, you can change the attributes of the cel over
  2733.              which the cursor is lying.  Underlying cels are not affected.
  2734.  
  2735.              The CHARACTER parameter lets you specify a new character to place
  2736.              in the cel.  This is a single character.  If you wish to specify
  2737.              the character using its ASCII code, use the ASCII parameter
  2738.              instead.
  2739.  
  2740.              The FOREGROUND and BACKGROUND parameters accept color register
  2741.              values as their arguments.  This is the color register to which
  2742.              you wish to change the foreground or background color.
  2743.  
  2744.              The rest of the parameters affect the text attributes of the
  2745.              cel's character.  The PLAIN parameter is a switch.  Specifying it
  2746.              resets all of the text attributes.  The others are toggles.  So
  2747.              for example, if Bold is on in the current cel, and you enter
  2748.  
  2749.                     EditCel BOLD
  2750.  
  2751.              the Bold attribute will be toggled to off.  Using PLAIN in
  2752.              combination with the others allows you to set all new attributes
  2753.              without having to worry which ones to toggle on or off to get the
  2754.              desired settings.
  2755.  
  2756.              EditCel returns the attributes of the cel in result as follows:
  2757.  
  2758.                     "character foregnd backgnd attributes..."
  2759.  
  2760.              where character is the character in the cel, foregnd is the
  2761.              foreground pen value, backgnd is the background pen value, and
  2762.              attributes... are the text names of whichever attributes are set.
  2763.  
  2764.              This command is only available in Animation Editing Mode.  Its
  2765.              use in any other mode causes a COMMAND_NOT_AVAILABLE to be
  2766.              returned in rc.
  2767.  
  2768.    See Also  None
  2769.  
  2770. EditMode
  2771.  
  2772.    Synopsis  EditMode [PAGE|ANIM] [FORCE]
  2773.  
  2774.     Purpose  Change the current Editing Mode.
  2775.  
  2776. Description  This command changes to the desired Editing Mode.  Currently,
  2777.              PAGE and ANIM modes are the only ones available.  Future versions
  2778.              of Luminus may support additional modes.  See the Operations
  2779.              chapter for details on each of the Editing Modes.
  2780.  
  2781.              When switching from ANIM mode to PAGE, you may lose some cels,
  2782.              potentially ruining your image.  You are presented with a
  2783.              requester that allows you to abort.  Using the FORCE parameter
  2784.              suppresses this requester.
  2785.  
  2786.              EditMode returns the current Editing Mode in result.
  2787.  
  2788.    See Also  DrawMode
  2789.  
  2790. Erase
  2791.  
  2792.    Synopsis  Erase
  2793.  
  2794.     Purpose  Erase a block from the current document.
  2795.  
  2796. Description  This command acts like Cut, removing blocked text from the
  2797.              document, except that it does not copy anything to the clipboard;
  2798.              the text is just removed.  Note that this command differs from
  2799.              Delete only in that it leaves empty space where the removed text
  2800.              was previously, whereas Delete creates a "vacuum" that pulls
  2801.              anything to the right of the block in to fill the vacated space.
  2802.  
  2803.              COMMAND_NOT_AVAILABLE is returned in rc if this command is used
  2804.              when no block is active.
  2805.  
  2806.    See Also  Cut, Delete
  2807.  
  2808. ExecuteScript
  2809.  
  2810.    Synopsis  ExecuteScript AmigaDOS-script
  2811.  
  2812.     Purpose  Execute an AmigaDOS script.
  2813.  
  2814. Description  This command allows you to asynchronously execute an AmigaDOS
  2815.              script.
  2816.  
  2817.    See Also  Rx
  2818.  
  2819. FileSettings
  2820.  
  2821.    Synopsis  FileSettings
  2822.  
  2823.     Purpose  Bring up the File Settings panel.
  2824.  
  2825. Description  Issuing this command brings up the File Settings panel.
  2826.  
  2827.    See Also  DisplaySettings, OpsSettings, DocumentSettings, BoxLineSettings
  2828.  
  2829. Font
  2830.  
  2831.    Synopsis  Font [fontname size]
  2832.  
  2833.     Purpose  Change the display's font and point-size.
  2834.  
  2835. Description  This command only changes the font used for the images; it does
  2836.              not change the screen's font.  The fontname parameter is the
  2837.              filename of the font.  You must include the '.font' extension.
  2838.              The size parameter is the desired point size (height) of the font
  2839.              that you want.
  2840.  
  2841.              This command returns the font name and size in result.
  2842.  
  2843.    See Also  None
  2844.  
  2845. GetCel
  2846.  
  2847.    Synopsis  GetCel
  2848.  
  2849.     Purpose  Get the attributes of the cel under the cursor.
  2850.  
  2851. Description  GetCel returns the attributes of the cel located directly under-
  2852.              neath the cursor in result as follows:
  2853.  
  2854.                     "character foregnd backgnd attributes..."
  2855.  
  2856.              where character is the character in the cel, foregnd is the
  2857.              foreground pen value, backgnd is the background pen value, and
  2858.              attributes... are the text names of whichever attributes are set.
  2859.              This command returns the same result as EditCel, but is included
  2860.              since EditCel is only available in Animation Editing Mode.
  2861.  
  2862.    See Also  GetLine
  2863.  
  2864. GetColumn
  2865.  
  2866.    Synopsis  GetColumn
  2867.  
  2868.     Purpose  Get the current column.
  2869.  
  2870. Description  This command returns the current cursor column in the ARexx
  2871.              variable result.
  2872.  
  2873.    See Also  GetLine
  2874.  
  2875. GetLine
  2876.  
  2877.    Synopsis  GetLine
  2878.  
  2879.     Purpose  Get the current line.
  2880.  
  2881. Description  This command returns the current cursor line in the ARexx
  2882.              variable result.
  2883.  
  2884.    See Also  GetColumn
  2885.  
  2886. GotoColumn
  2887.  
  2888.    Synopsis  GotoColumn column
  2889.  
  2890.     Purpose  Move to a specific column.
  2891.  
  2892. Description  The column parameter specifies the absolute column number to
  2893.              which Luminus should move the cursor.
  2894.  
  2895.    See Also  GotoLine
  2896.  
  2897. GotoLine
  2898.  
  2899.    Synopsis  GotoLine line
  2900.  
  2901.     Purpose  Move to a specific line.
  2902.  
  2903. Description  The line parameter specifies the absolute line number to which
  2904.              Luminus should move the cursor.
  2905.  
  2906.    See Also  GotoColumn
  2907.  
  2908. HorizDir
  2909.  
  2910.    Synopsis  HorizDir [NONE|LEFT|RIGHT]
  2911.  
  2912.     Purpose  Change the horizontal cursor direction.
  2913.  
  2914. Description  This command allows you to set the horizontal direction of the
  2915.              cursor.  HorizDir returns the current horizontal direction in
  2916.              result.
  2917.  
  2918.    See Also  VertDir
  2919.  
  2920. Insert
  2921.  
  2922.    Synopsis  Insert CODE[=]code|CLEARSCREEN [COLOR[=]num]
  2923.  
  2924.     Purpose  Insert a code into the animation.
  2925.  
  2926. Description  Use this command to insert non-typeable codes into your anim-
  2927.              ation.  If it is a custom ANSI code, use the CODE parameter.  Do
  2928.              not enter the escape character and opening bracket ([) for the
  2929.              code.  This is automatically done, since all ANSI codes begin
  2930.              with them.  If you want a clear screen code, use CLEARSCREEN.  If
  2931.              you don't specify a color, via COLOR, the current background
  2932.              color is used.  The num parameter is the color register number.
  2933.  
  2934.              This command is only available in Animation Editing Mode.  If it
  2935.              is issued in any other editing mode, a COMMAND_NOT_AVAILABLE
  2936.              error is returned in rc.
  2937.  
  2938.    See Also  None
  2939.  
  2940. JumpScreen
  2941.  
  2942.    Synopsis  JumpScreen [screen-name|NEXT] [ALL]
  2943.  
  2944.     Purpose  Jump the current window to a new screen.
  2945.  
  2946. Description  The JumpScreen command allows you to move an existing document's
  2947.              window to another screen.  The first parameter is either a
  2948.              screen-name or the keyword NEXT.  The screen-name must match an
  2949.              existing public screen's name exactly, and the destination screen
  2950.              must be a public screen.  Using NEXT will move to the next screen
  2951.              in Intuition's public screen list.
  2952.  
  2953.              The keyword ALL indicates that all document windows should be
  2954.              moved to the desired screen.
  2955.  
  2956.              If there are no public screens available, or the screen-name
  2957.              specified doesn't exist or can't be locked, the command drops
  2958.              result.  Otherwise, the screen on which the window is opened is
  2959.              returned.
  2960.  
  2961.    See Also  None
  2962.  
  2963. Line
  2964.  
  2965.    Synopsis  Line INSERT|DELETE
  2966.  
  2967.     Purpose  Insert or delete lines.
  2968.  
  2969. Description  Using the INSERT switch, you can insert a blank line at the
  2970.              cursor position, moving all lines below down to accommodate the
  2971.              new line.  Lines that get moved outside the bounds of the
  2972.              document are not lost.
  2973.  
  2974.              The DELETE switch eliminates the line under the cursor and moves
  2975.              everything below up to fill its space.
  2976.  
  2977.    See Also  Column
  2978.  
  2979. LineType
  2980.  
  2981.    Synopsis  LineType [SINGLE|DOUBLE|SINGLEDOUBLE|DOUBLESINGLE|CUSTOM|SELECT]
  2982.  
  2983.     Purpose  Change the current line type.
  2984.  
  2985. Description  This command changes to the desired line type.  The first four
  2986.              line types assumed an IBM-style font.  The line type CUSTOM
  2987.              allows for any font that may have complex box parts.  See the
  2988.              Operations chapter for details on each of the line types.
  2989.  
  2990.              LineType returns the current line type in result.
  2991.  
  2992.    See Also  None
  2993.  
  2994. LoadSettings
  2995.  
  2996.    Synopsis  LoadSettings file
  2997.  
  2998.     Purpose  Load a file of saved settings.
  2999.  
  3000. Description  The file parameter specifies the settings file to load.  You can
  3001.              specify a path with the filename.
  3002.  
  3003.    See Also  SaveSettings
  3004.  
  3005. LockGUI
  3006.  
  3007.    Synopsis  LockGUI
  3008.  
  3009.     Purpose  Locks the user interface, disabling display updates.
  3010.  
  3011. Description  Issue this command when you want to keep Luminus from updating
  3012.              its displays.  All window redrawing (with the exception of
  3013.              Intuition-mandated refreshes) is disabled, as well as menu
  3014.              updates.  You may still access the menus, but checkmarked items,
  3015.              for instance, may not reflect their proper state.  This is useful
  3016.              if you are going to issue a lot of display-intensive commands and
  3017.              don't want the system bogged down doing refreshes.  Updates do
  3018.              not get queued during a LockGUI.
  3019.  
  3020.    See Also  UnlockGUI
  3021.  
  3022. MoveWindow
  3023.  
  3024.    Synopsis  MoveWindow left top
  3025.  
  3026.     Purpose  Move the current window to a new position.
  3027.  
  3028. Description  This command's parameters accept any zero or positive coordinate
  3029.              values to which to move the current window.  This command does
  3030.              not affect the window's size, and will always keep the window
  3031.              within the screen's borders.
  3032.  
  3033.    See Also  ZoomWindow, UnZoomWindow, SizeWindow, ChangeWindow
  3034.  
  3035. New
  3036.  
  3037.    Synopsis  New [PORTNAME[=]ARexx-port] [SCREEN[=]public-screen]
  3038.  
  3039.     Purpose  Open a new, blank document.
  3040.  
  3041. Description  This command opens a new empty document and its accompanying
  3042.              window.  If the PORTNAME parameter is specified, the document's
  3043.              ARexx port will have the name given, instead of using the
  3044.              standard naming convention, which is to use the base name
  3045.              specified in the Operations Settings panel plus a unique numeric
  3046.              identifier.  For example, If the base name is 'LUMINUS', and you
  3047.              have two documents opened, with ARexx ports called 'LUMINUS.0'
  3048.              and 'LUMINUS.1', the next document will be called 'LUMINUS.2'.
  3049.              Using PORTNAME, you can say:
  3050.  
  3051.                     New PORTNAME THIRDDOC
  3052.  
  3053.              which will open the new document with an ARexx port named
  3054.              'MYDOC'.  If the portname specified cannot be opened, the
  3055.              document will open without an ARexx port.  The portname used will
  3056.              be returned in result, or if no port was opened, 'Untitled' will
  3057.              be returned.
  3058.  
  3059.              Using the SCREEN parameter, you can specify the public screen on
  3060.              which to open the document.  If the public screen specified is
  3061.              not available, or no public screen is specified, the name
  3062.              specified in the Public Screen setting in the Display Settings
  3063.              panel will be used.  If that doesn't work, the default public
  3064.              screen will be used.
  3065.  
  3066.              If New cannot open a new document, result will be dropped; other-
  3067.              wise, the name of the ARexx port is returned.
  3068.  
  3069.    See Also  Open
  3070.  
  3071. NewPage
  3072.  
  3073.    Synopsis  NewPage APPEND|INSERT
  3074.  
  3075.     Purpose  Add a new page to the document.
  3076.  
  3077. Description  NewPage adds a new, blank page to the document.  If you specify
  3078.              APPEND, the new page is placed at the end of the document, after
  3079.              all existing pages.  If INSERT is used, the new page is inserted
  3080.              at the current page, moving all subsequent pages back one to
  3081.              accommodate.
  3082.  
  3083.              This command may only be issued in Page Editing Mode.  If it is
  3084.              used in any other mode, a COMMAND_NOT_AVAILABLE error is returned
  3085.              in rc.
  3086.  
  3087.    See Also  DeletePage
  3088.  
  3089. NextPage
  3090.  
  3091.    Synopsis  NextPage
  3092.  
  3093.     Purpose  Move to the next page in the document.
  3094.  
  3095. Description  Issuing this command moves to the next page in the document, if
  3096.              there is one.  If there isn't, nothing happens.
  3097.  
  3098.    See Also  PreviousPage
  3099.  
  3100. Open
  3101.  
  3102.    Synopsis  Open file... [PORTNAME[=]ARexx-port] [SCREEN[=]public-screen]
  3103.  
  3104.     Purpose  Open one or more files.
  3105.  
  3106. Description  The parameter file... specifies the file (with optional path) to
  3107.              open.  You can specify more than one file to open.  Standard
  3108.              AmigaDOS pattern-matching can be used for filenames.  For
  3109.              example:
  3110.  
  3111.                     Open Work:Pictures/ANSI/#?.ans
  3112.  
  3113.              will open all files ending in '.ans' in the directory
  3114.              "Work:Pictures/ANSI".
  3115.  
  3116.              Each file will be opened in a separate document and window.  Open
  3117.              will return in result the names of each file (and path) opened,
  3118.              separated by a vertical bar ('|').
  3119.  
  3120.              See the description of New for details on the parameters PORTNAME
  3121.              and SCREEN.
  3122.  
  3123.              This command returns the ARexx port names in result.
  3124.  
  3125.    See Also  New
  3126.  
  3127. OpenAttributes
  3128.  
  3129.    Synopsis  OpenAttributes
  3130.  
  3131.     Purpose  Open the Attributes interactive support window.
  3132.  
  3133. Description  Issuing this command tells Luminus to open the Attributes
  3134.              interactive support window on the screen of the current document.
  3135.              If the window is already open on that screen, it is moved to the
  3136.              front.  If it open on another screen, it will close and reopen on
  3137.              the appropriate screen.
  3138.  
  3139.    See Also  CloseAttributes, OpenCharSet, CloseCharSet, OpenSwitches,
  3140.              CloseSwitches
  3141.  
  3142. OpenCharSet
  3143.  
  3144.    Synopsis  OpenCharSet
  3145.  
  3146.     Purpose  Open the Character Set interactive support window.
  3147.  
  3148. Description  Issuing this command tells Luminus to open the Character Set
  3149.              interactive support window on the screen of the current document.
  3150.              If the window is already open on that screen, it is moved to the
  3151.              front.  If it open on another screen, it will close and reopen on
  3152.              the appropriate screen.
  3153.  
  3154.    See Also  OpenAttributes, CloseAttributes, CloseCharSet, OpenSwitches,
  3155.              CloseSwitches
  3156.  
  3157. OpenSwitches
  3158.  
  3159.    Synopsis  OpenSwitches
  3160.  
  3161.     Purpose  Open the Switches interactive support window.
  3162.  
  3163. Description  Issuing this command tells Luminus to open the Switches inter-
  3164.              active support window on the screen of the current document.  If
  3165.              the window is already open on that screen, it is moved to the
  3166.              front.  If it open on another screen, it will close and reopen on
  3167.              the appropriate screen.
  3168.  
  3169.    See Also  OpenAttributes, CloseAttributes, OpenCharSet, CloseCharSet,
  3170.              CloseSwitches
  3171.  
  3172. OpsSettings
  3173.  
  3174.    Synopsis  OpsSettings
  3175.  
  3176.     Purpose  Bring up the Operations Settings panel.
  3177.  
  3178. Description  Issuing this command brings up the Operations Settings panel.
  3179.  
  3180.    See Also  DisplaySettings, FileSettings, DocumentSettings, BoxLineSettings
  3181.  
  3182. Overlay
  3183.  
  3184.    Synopsis  Overlay file...
  3185.  
  3186.     Purpose  Append one or more files onto the current document.
  3187.  
  3188. Description  This command attempts to append the contents of file... onto the
  3189.              current document.  The file... parameter accepts multiple
  3190.              filenames.  AmigaDOS pattern-matching can also be used.  For
  3191.              example:
  3192.  
  3193.                     Overlay Work:Pictures/ANSI/#?.ans
  3194.  
  3195.              will overlay all files ending in '.ans' in the directory
  3196.              "Work:Pictures/ANSI" onto the current document.
  3197.  
  3198.              All files that were overlaid, completely or partially, are
  3199.              returned in result.
  3200.  
  3201.    See Also  Open
  3202.  
  3203. Paste
  3204.  
  3205.    Synopsis  Paste
  3206.  
  3207.     Purpose  Paste text from the clipboard into the current document.
  3208.  
  3209. Description  This command grabs any text available from the clipboard and
  3210.              places it in the current document, using the current cursor
  3211.              position as its anchor point (top-left corner).  The selected
  3212.              clipboard unit for the current document is used.
  3213.  
  3214.              Paste will only grab chunks of types FTXT CHRS or ANSI CEL from
  3215.              the clipboard; no other IFF form is supported.
  3216.  
  3217.              COMMAND_NOT_AVAILABLE is returned in rc if this command is used
  3218.              when no block is active.
  3219.  
  3220.    See Also  Cut, Copy, Erase, Delete
  3221.  
  3222. Pause
  3223.  
  3224.    Synopsis  Pause KEY|TIMED[=]val
  3225.  
  3226.     Purpose  Insert a pause in the animation.
  3227.  
  3228. Description  This command allows you to insert a pause into the current
  3229.              animation.  The type of pause is specified by this command's
  3230.              parameters.  If a key-released pause is desired, use KEY.  If you
  3231.              want to use a pause that only stops for a length of time, use
  3232.              TIMED with the number of clock-ticks in val (there are 50
  3233.              clock-ticks per second).
  3234.  
  3235.    See Also  Insert
  3236.  
  3237. Position
  3238.  
  3239.    Synopsis  Position SOD|EOD|SOV|EOV
  3240.  
  3241.     Purpose  Position the cursor at a predetermined point in the document.
  3242.  
  3243. Description  Using the Position command, you can place the cursor at any of
  3244.              the "framing points" of the document, namely the start or end of
  3245.              the document or view.  The parameters SOD or EOD move the cursor
  3246.              to the start or end of the document, respectively.  The para-
  3247.              meters SOV or EOV move the cursor to the start or end of the
  3248.              "view" (the portion of the document currently visible in the
  3249.              document's window), respectively.
  3250.  
  3251.    See Also  Cursor
  3252.  
  3253. PresetColor
  3254.  
  3255.    Synopsis  PresetColor A2024|AMIGA|ANSI|EGA|FROMWB
  3256.  
  3257.     Purpose  Load a predefined color set in the custom screen's color
  3258.              registers.
  3259.  
  3260. Description  Specify one of the parameters above to load that color set into
  3261.              the custom screen registers.  This command only affects Luminus'
  3262.              own custom screen.  If this command is issued without Luminus
  3263.              having opened its own screen, a COMMAND_NOT_AVAILABLE error is
  3264.              returned.
  3265.  
  3266.    See Also  None
  3267.  
  3268. PreviousPage
  3269.  
  3270.    Synopsis  PreviousPage
  3271.  
  3272.     Purpose  Move to a previous page in the document.
  3273.  
  3274. Description  This command moves to the previous page in the document, if there
  3275.              is one.  If there isn't, nothing happens.
  3276.  
  3277.              This command is only available in Page Editing Mode.  A
  3278.              COMMAND_NOT_AVAILABLE is returned in rc if used in any other
  3279.              mode.
  3280.  
  3281.    See Also  NextPage
  3282.  
  3283. Quit
  3284.  
  3285.    Synopsis  Quit [FORCE]
  3286.  
  3287.     Purpose  Shutdown Luminus.
  3288.  
  3289. Description  This command tells Luminus to close all open documents and
  3290.              shutdown, including closing its custom screen, if opened.  The
  3291.              FORCE parameter tells Luminus to suppress the requester that
  3292.              would appear if you had made changes to any documents since their
  3293.              last save.  Otherwise, a requester will appear for each document
  3294.              that has modifications.
  3295.  
  3296.    See Also  None
  3297.  
  3298. RedoDisplay
  3299.  
  3300.    Synopsis  RedoDisplay
  3301.  
  3302.     Purpose  Tell Luminus to do an entire refresh of the display.
  3303.  
  3304. Description  This command causes Luminus to do an entire forced refresh of the
  3305.              current document window.  Some document information is recom-
  3306.              piled, the animation is redrawn, and Intuition is requested to
  3307.              update the window's imagery.
  3308.  
  3309.    See Also  None
  3310.  
  3311. Redraw
  3312.  
  3313.    Synopsis  Redraw speed
  3314.  
  3315.     Purpose  Redraw the current ANSI animation.
  3316.  
  3317. Description  This command causes the current animation to be redrawn from the
  3318.              first cel to the last as input into the document.  The speed
  3319.              parameter is the delay factor used in drawing the animation.
  3320.              This value is how long Luminus waits between each cel.  The
  3321.              higher the value, the longer the delay between cels, the slower
  3322.              the animation is drawn.  A value of 50 is equal to a 1 second
  3323.              pause.
  3324.  
  3325.    See Also  None
  3326.  
  3327. RestoreDefaults
  3328.  
  3329.    Synopsis  RestoreDefaults
  3330.  
  3331.     Purpose  Reset settings to internal defaults.
  3332.  
  3333. Description  This command will discard the current settings and return Luminus
  3334.              to its internally stored settings.
  3335.  
  3336.    See Also  None
  3337.  
  3338. Ruler
  3339.  
  3340.    Synopsis  Ruler [ON|OFF] [[NO]HASHES] [[NO]NUMBERS] [INTERVAL[=]num]
  3341.  
  3342.     Purpose  Change the attributes of the Ruler.
  3343.  
  3344. Description  This command's various parameters affect the state and attributes
  3345.              of the Ruler.  The Ruler is normally a pair of lines, one
  3346.              vertical, one horizontal, that intersect in the document's window
  3347.              at the mouse pointer.  The parameter ON|OFF lets you turn on or
  3348.              off the Ruler.  The second parameter, HASHES, turns on the hash
  3349.              marks that indicate character positions along the ruler's edges.
  3350.              NOHASHES shuts them off.  NUMBERS turns on hash numbering, which
  3351.              places a position number at intervals next to hash marks.  The
  3352.              interval can be controlled using the INTERVAL parameter.
  3353.              NONUMBERS turns numbering off.  Ruler returns the current state
  3354.              of the ruler in result as follows:
  3355.  
  3356.                     "state hash-state number-state interval"
  3357.  
  3358.              where state is either ON or OFF, hash-state is HASHES or
  3359.              NOHASHES, number-state is NUMBERS or NONUMBERS and interval is
  3360.              the current interval value.
  3361.  
  3362.    See Also  None
  3363.  
  3364. Rx
  3365.  
  3366.    Synopsis  Rx ARexx-script
  3367.  
  3368.     Purpose  Start an ARexx script.
  3369.  
  3370. Description  This command allows you to asynchronously start another ARexx
  3371.              script.
  3372.  
  3373.    See Also  ExecuteScript
  3374.  
  3375. Save
  3376.  
  3377.    Synopsis  Save [file] [MODE[=]mode] [LINE[=]num] [VIDEO[=]prep] [EOL[=]eol]
  3378.                   [ALTESC[=]code]
  3379.  
  3380.     Purpose  Save the current document to disk.
  3381.  
  3382. Description  This command saves the current document's contents to a file.
  3383.              The file parameter is the filename under which you wish to save
  3384.              it, with optional pathname.  If you want to change the way the
  3385.              file is saved without resetting your File Settings, some
  3386.              additional parameters are available.
  3387.  
  3388.              MODE lets you change the file format by which your file will be
  3389.              saved.  The available modes are ASCII (only in Page Editing
  3390.              mode), ANSI, and IFF.
  3391.  
  3392.              The LINE parameter lets you set the maximum line length that will
  3393.              be saved before a newline is placed.  This parameter is ignore if
  3394.              saving in IFF mode.
  3395.  
  3396.              The VIDEO parameter lets you specify the type of preparation code
  3397.              that will be prepended to the file during its save.  Available
  3398.              preps are NONE, HOME, CLEAR.
  3399.  
  3400.              The EOL parameter lets you set the type of newline that will be
  3401.              used.  Available types are CR (carriage-return only), LF (line-
  3402.              feed only), and CRLF (carriage-return and linefeed).
  3403.  
  3404.              The ALTESC parameter tells Luminus to use an alternate escape
  3405.              character instead of ASCII code 27.  The character to be used is
  3406.              specified after ALTESC.
  3407.  
  3408.    See Also  None
  3409.  
  3410. SaveSettings
  3411.  
  3412.    Synopsis  SaveSettings [file]
  3413.  
  3414.     Purpose  Save the current settings.
  3415.  
  3416. Description  If the file parameter is specified, the current settings will be
  3417.              saved to that file.  A path can be specified with the filename.
  3418.              If the file parameter is omitted, the settings will be saved
  3419.              using the last known filename.  If no filename is used,
  3420.              'Luminus.prefs' will be used.
  3421.  
  3422.    See Also  LoadSettings
  3423.  
  3424. SelectBlock
  3425.  
  3426.    Synopsis  SelectBlock left top width height
  3427.  
  3428.     Purpose  Mark a block for use.
  3429.  
  3430. Description  The parameters specify the starting position and dimensions of
  3431.              the block.
  3432.  
  3433.    See Also  DeselectBlock
  3434.  
  3435. SizeWindow
  3436.  
  3437.    Synopsis  SizeWindow width height
  3438.  
  3439.     Purpose  Change the current window's size
  3440.  
  3441. Description  This command's parameters accept any positive value greater than
  3442.              or equal to 100 for width, and 75 for height.  This command does
  3443.              not affect the window's position and will not size the window
  3444.              larger than would fit on the current screen.
  3445.  
  3446.    See Also  ZoomWindow, UnZoomWindow, MoveWindow, ChangeWindow
  3447.  
  3448. StatusLine
  3449.  
  3450.    Synopsis  StatusLine [ON|OFF] [TOP|BOTTOM]
  3451.  
  3452.     Purpose  Change the state and/or position of the status line.
  3453.  
  3454. Description  This command tells Luminus how and whether or not to display the
  3455.              status lines in the documents' windows.  The parameter ON or OFF
  3456.              turns on or off the status line in the current document only.
  3457.              The parameter TOP (or BOTTOM) sets the global flags in Luminus
  3458.              for where the status line should be displayed in all document
  3459.              windows.
  3460.  
  3461.              StatusLine return the current state of the status line in result
  3462.              as follows:
  3463.  
  3464.                     "state position"
  3465.  
  3466.              where state is either ON or OFF, and position is either TOP or
  3467.              BOTTOM.
  3468.  
  3469.    See Also  None
  3470.  
  3471. Text
  3472.  
  3473.    Synopsis  Text text
  3474.  
  3475.     Purpose  Place text into the document.
  3476.  
  3477. Description  The text parameter can be any ASCII characters starting at the
  3478.              first non-whitespace character after the command until the end of
  3479.              the line.  Strings which contain spaces do not have to be sur-
  3480.              rounded by quotes, and quotes are treated as literal text as
  3481.              well.  The Text command obeys the current directional settings.
  3482.  
  3483.    See Also  None
  3484.  
  3485. TextBox
  3486.  
  3487.    Synopsis  TextBox text [LINETYPE[=]type] [SELECT[=]character]
  3488.                      [BEVEL[=]bevel] [JUST[IFICATION][=]justification]
  3489.                      [LEFT[MARGIN][=]num] [RIGHT[MARGIN][=]num]
  3490.  
  3491.     Purpose  Place outlined/justified text in the document.
  3492.  
  3493. Description  The first parameter, text, is a quoted text string to place.  It
  3494.              may contain multiple lines, which should be separated by ASCII
  3495.              code 10 (hex 0x0A, a linefeed).  Be default, the text is left-
  3496.              justified using the current cursor position as the origin.  This
  3497.              behavior can be modified (see below).
  3498.  
  3499.              The LINETYPE parameter lets you specify the type of line that
  3500.              should be used for a box drawn around the text.  The line-types
  3501.              available are:  NONE, SINGLE, DOUBLE, SINGLEDOUBLE, DOUBLESINGLE,
  3502.              CUSTOM, and SELECT.  If you use the SELECT type, specify the
  3503.              character to be used by using the SELECT parameter.
  3504.  
  3505.              If you want the box to have a bevelled appearance, use the BEVEL
  3506.              parameter.  Valid bevel values are NONE, RAISED and RECESSED.
  3507.  
  3508.              If the text should be justified, use JUSTIFICATION.  Valid
  3509.              justification values are NONE, LEFT, CENTER and RIGHT.  If you
  3510.              use justification, you should specify left and right margin
  3511.              values, using LEFTMARGIN and RIGHTMARGIN.  If either of these
  3512.              parameters is missing, defaults values are used:  1 for the left
  3513.              margin, the maximum document width for the right margin.  Note
  3514.              that when justification is used, the current column position is
  3515.              ignored and not used, while the line position is.
  3516.  
  3517.    See Also  Box, BevelBox
  3518.  
  3519. TextPen
  3520.  
  3521.    Synopsis  TextPen [pen] [[NO]CYCLE]
  3522.  
  3523.     Purpose  Change the text drawing pen.
  3524.  
  3525. Description  This command changes the foreground color used for text and
  3526.              drawing.  The pen parameter accepts a color register number as
  3527.              its argument, starting at pen 0 to the maximum pen usable on the
  3528.              screen.  If the CYCLE keyword is supplied, the background color
  3529.              cycling flag is turned on.  NOCYCLE turns it off.
  3530.  
  3531.              TextPen returns the current foreground pen and cycle flag in
  3532.              result as follows:
  3533.  
  3534.                     "pen-number cycle-flag"
  3535.  
  3536.              where pen-number is the numeric color register, and cycle-flag is
  3537.              either CYCLE or NOCYCLE.
  3538.  
  3539.    See Also  BackgroundPen
  3540.  
  3541. UnlockGUI
  3542.  
  3543.    Synopsis  UnlockGUI
  3544.  
  3545.     Purpose  Unlocks the user interface, (re)enabling display updates
  3546.  
  3547. Description  This command is the counterpart to the LockGUI command.  It
  3548.              clears the display-locking flag, allowing Luminus to update its
  3549.              displays when called-for.  When the UnlockGUI command is issued,
  3550.              display will not immediately be refreshed and updated.  To get
  3551.              the displays up-to-date, issue a RedoDisplay command immediately
  3552.              after issuing the UnlockGUI.
  3553.  
  3554.    See Also  LockGUI
  3555.  
  3556. UnZoomWindow
  3557.  
  3558.    Synopsis  UnZoomWindow
  3559.  
  3560.     Purpose  Restore a window to its original size and position.
  3561.  
  3562. Description  This will cause the current window to return to its original size
  3563.              and position, becoming "unzoomed."  If the window is already
  3564.              unzoomed, nothing will happen.
  3565.  
  3566.    See Also  ZoomWindow
  3567.  
  3568. UseAppIcon
  3569.  
  3570.    Synopsis  UseAppIcon [ON|OFF]
  3571.  
  3572.     Purpose  Inquire about or alter the state of Luminus' AppIcon.
  3573.  
  3574. Description  If you specify either the ON or OFF parameter with this command,
  3575.              the AppIcon flag will be changed to that state.
  3576.  
  3577.              This command returns the current state in result.
  3578.  
  3579.    See Also  None
  3580.  
  3581. VertDir
  3582.  
  3583.    Synopsis  VertDir [NONE|UP|DOWN]
  3584.  
  3585.     Purpose  Change the vertical cursor direction.
  3586.  
  3587. Description  This command allows you to set the vertical direction of the
  3588.              cursor.  VertDir returns the current vertical direction in
  3589.              result.
  3590.  
  3591.    See Also  HorizDir
  3592.  
  3593. WindowToBack
  3594.  
  3595.    Synopsis  WindowToBack
  3596.  
  3597.     Purpose  Move the current window to the back.
  3598.  
  3599. Description  This command moves the currently active document's window behind
  3600.              all other windows on its screen (except for backdrop windows).
  3601.  
  3602.    See Also  WindowToFront, ZoomWindow, UnZoomWindow
  3603.  
  3604. WindowToFront
  3605.  
  3606.    Synopsis  WindowToFront
  3607.  
  3608.     Purpose  Move the current window to the front.
  3609.  
  3610. Description  This command moves the currently active document's window to the
  3611.              front of whatever screen it's on, and pops the screen to the
  3612.              front of the display.
  3613.  
  3614.    See Also  WindowToBack, ZoomWindow, UnZoomWindow
  3615.  
  3616. ZoomWindow
  3617.  
  3618.    Synopsis  ZoomWindow
  3619.  
  3620.     Purpose  Resize a window to its "zoomed" size and position.
  3621.  
  3622. Description  Every Intuition window has two different sets of the position and
  3623.              size values.  When a window opens initially, it's said to be in
  3624.              its "unzoomed" state.  Clicking its zoom gadget causes it to
  3625.              revert to its "zoomed" state, which is generally smaller and off
  3626.              to the side somewhere.  Luminus's document windows default to a
  3627.              "zoomed" size of about 100 x 75 pixels in the upper-left corner
  3628.              of the screen.
  3629.  
  3630.              Issuing this command will cause the window to revert to its
  3631.              "zoomed" state.  If the window is already zoomed, nothing will
  3632.              happen.
  3633.  
  3634.    See Also  UnZoomWindow
  3635.  
  3636. Command Summary
  3637.  
  3638. This sections provides a sort of quick-reference of all of Luminus' ARexx
  3639. commands.
  3640.  
  3641. ActivateWindow
  3642. AtCursor
  3643. Attribute [PLAIN] [BOLD] [ITALICS] [UNDERLINE] [BLINK] [INVERSE] [CONCEALED]
  3644. AttrMode [FORE[GROUND]] [BACK[GROUND]] [ATTR[IBUTE]]
  3645. BackgroundPen [pen] [[NO]CYCLE]
  3646. Border [ON|OFF]
  3647. Box left top width height [line-type [ascii-code]]
  3648. BoxLineSettings
  3649. ChangeWindow left top width height
  3650. Clear PAGE|DOCUMENT [FORCE]
  3651. Close [FORCE]
  3652. CloseAttributes
  3653. CloseCharSet
  3654. CloseSwitches
  3655. CmdShell [console-specification] [STARTUP[=]startup-file]
  3656. Column INSERT|DELETE
  3657. Copy
  3658. CreateIcons ON|OFF
  3659. Cursor UP|DOWN|LEFT|RIGHT [amount] [SHIFT] [ALT] [CONTROL]
  3660. Cut
  3661. Delete
  3662. DeletePage [FORCE]
  3663. DeselectBlock
  3664. DisplaySettings
  3665. DocumentSettings
  3666. DrawMode [TEXT|ATTR]
  3667. EditCel [CHAR[ACTER][=]c] [ASCII[=]num] [FORE[GROUND][=]pen]
  3668.         [BACK[GROUND][=]pen] [PLAIN] [BOLD] [ITALICS] [UNDERLINE] [BLINK]
  3669.         [INVERSE] [CONCEALED]
  3670. EditMode [PAGE|ANIM] [FORCE]
  3671. Erase
  3672. ExecuteScript AmigaDOS-script
  3673. FileSettings
  3674. Font [fontname size]
  3675. GetCel
  3676. GetColumn
  3677. GetLine
  3678. GotoColumn column
  3679. GotoLine line
  3680. HorizDir [NONE|LEFT|RIGHT]
  3681. Insert CODE[=]code|CLEARSCREEN [COLOR=num]
  3682. JumpScreen screen-name|NEXT [ALL]
  3683. Line INSERT|DELETE
  3684. LineType [SINGLE|DOUBLE|SINGLEDOUBLE|DOUBLESINGLE|CUSTOM|SELECT]
  3685. LoadSettings file
  3686. LockGUI
  3687. MoveWindow left top
  3688. New [PORTNAME[=]ARexx-port] [SCREEN[=]public-screen]
  3689. NewPage APPEND|INSERT
  3690. NextPage
  3691. Open file... [PORTNAME[=]ARexx-port] [SCREEN[=]public-screen]
  3692. OpenAttributes
  3693. OpenCharSet
  3694. OpenSwitches
  3695. OpsSettings
  3696. Overlay file...
  3697. Paste
  3698. Pause KEY|TIMED[=]val
  3699. Position SOD|EOD|SOV|EOV
  3700. PresetColor A2024|AMIGA|ANSI|EGA|FROMWB
  3701. PreviousPage
  3702. Quit [FORCE]
  3703. RedoDisplay
  3704. Redraw speed
  3705. RestoreDefaults
  3706. Ruler [ON|OFF} [[NO]HASHES] [[NO]NUMBERS] [INTERVAL[=]num]
  3707. Rx ARexx-script
  3708. Save [file] [MODE[=]mode] [LINE[=]num] [VIDEO[=]prep] [EOL[=]eol]
  3709.      [ALTESC[=]code]
  3710. SaveSettings [file]
  3711. SelectBlock left top width height
  3712. SizeWindow width height
  3713. StatusLine [ON|OFF] [TOP|BOTTOM]
  3714. Text text
  3715. TextBox text [LINETYPE[=]type] [SELECT[=]character] [BEVEL[=]bevel]
  3716.         [JUST[IFICATION][=]justification] [LEFT[MARGIN][=]num]
  3717.         [RIGHT[MARGIN][=]num]
  3718. TextPen [pen] [[NO]CYCLE]
  3719. UnlockGUI
  3720. UnZoomWindow
  3721. UseAppIcon [ON|OFF]
  3722. VertDir [NONE|UP|DOWN]
  3723. WindowToBack
  3724. WindowToFront
  3725. ZoomWindow
  3726.  
  3727. Miscellaneous
  3728.  
  3729. This chapter basically covers, well, miscellaneous things that usually can't
  3730. be place anywhere else, plus just some tidbits of information.
  3731.  
  3732. Caveats
  3733.  
  3734. The Amiga supports multiple menu selections during one menu event.  If you are
  3735. not familiar with this, what it does is allow you to click with the left mouse
  3736. button on several menu items without having to re-access the menu with the
  3737. right mouse button.  Luminus is designed to respond to these "chained" menu
  3738. events.  Certain menu items allow you to close and re-open windows, such as
  3739. screen jumping and changing the screen mode of the custom screen.  When the
  3740. window that generated the menu events is closed, its menu structure is temp-
  3741. orarily "lost", and any chained menu selections with it.  So beware when
  3742. multi-selecting an item that may close your window.
  3743.  
  3744. I've also tried using Luminus with MagicMenu V1.29.  Menu selection is
  3745. almost flawless, except when you try to select a menu item while you have a
  3746. block selected.  The block ends up getting deselected, and some menu
  3747. selections become invalid, since it relies on the existence of the block.
  3748. I don't know why it's happening, and I can't think of a way around it,
  3749. except to disable MagicMenu while Luminus is running.
  3750.  
  3751. The Future
  3752.  
  3753. The following items are on my to-do list for future versions of Luminus.  If
  3754. you think of an item that is not in this list, please feel free to drop me an
  3755. e-mail or postcard.
  3756.  
  3757. - Scan modules.  These would be mini-scripts that could instruct Luminus on
  3758.   how to "redesign" an animation.
  3759.  
  3760. - Line drawing mode.
  3761.  
  3762. - Fonts.  Possibly an internal-format font set for large lettering, and sup-
  3763.   port for drawing Amiga bitmapped fonts.
  3764.  
  3765. - Undo and Redo.
  3766.  
  3767. - Flood fill.
  3768.  
  3769. Authenticity
  3770.  
  3771. If you want to be sure that the files in this archive are authentic, I have
  3772. enclosed below my PGP public key.  All binaries and documentations are
  3773. accompanied by a PGP signature file, which can be used to verify the
  3774. authenticity of each file.
  3775.  
  3776. -----BEGIN PGP PUBLIC KEY BLOCK-----
  3777. Version: 2.3a.3
  3778.  
  3779. mQA9AjDsJFIAAAEBgMkAGST6HFaQYNFjkZebpoaFUjsiwCIHxooGtDbaO2lEE7FH
  3780. Oq9IsVSq8gjAbRcJKQAFEbQuUGF1bCBBLiBTY2hpZmZlcmVyIDwxMDMxNjcuMTAz
  3781. QGNvbXB1c2VydmUuY29tPg==
  3782. =e6P8
  3783. -----END PGP PUBLIC KEY BLOCK-----
  3784.  
  3785. History
  3786.  
  3787. 0.2 06 Jan 1996 - Second beta release.
  3788.  
  3789.                 Bugs:
  3790.  
  3791.                 - 'Edit cel...' wasn't activating its window.  Fixed.
  3792.  
  3793.                 - The settings gadgets in the Document settings panel
  3794.                   for ruler hashes, numbers and interval stayed ghosted
  3795.                   when 'Ruler?' was enabled via mouse click.  Fixed.
  3796.  
  3797.                 - The ASL requester wasn't getting reset to ask for files
  3798.                   after being used as a directory requester.  Fixed.
  3799.  
  3800.                 - Closing the Attributes and Character Set windows would
  3801.                   sometimes crash the computer.  Fixed.
  3802.  
  3803.                 - Luminus would flash the screen on an error regardless of
  3804.                   the 'Beep on error?' setting.  Fixed.
  3805.  
  3806.                 - The Operations Settings panel was generating some
  3807.                   Enforcer hits.  Fixed, I hope. :)
  3808.                   (Bug report by Alex May.)
  3809.  
  3810.                 - ARexx command TextBox was impotent, i.e., there was no
  3811.                   code.  I forgot to write it.  Oops, silly me. :|  Fixed.
  3812.  
  3813.                 - There was an insidious little bug in the gadget layout
  3814.                   code for the Attribute window that caused the gadgets to
  3815.                   be improperly sized when running under OS 3.0 or higher.
  3816.                   Fixed.  (Sorry 3.x users.)
  3817.                   (Bug report by Patrick Gern.)
  3818.  
  3819.                 - The gadget layout code for the Switches window didn't
  3820.                   account for font size in the cycle gadgets.  Fixed.
  3821.  
  3822.                 Additions:
  3823.  
  3824.                 - Compiled date and time of program now shows in 'About...'
  3825.                   window.  (Big deal, right?)
  3826.  
  3827.                 - Header and Footer text can be specified that will be
  3828.                   saved before and after, respectively, every file.
  3829.                   (Suggested by Alex May.)
  3830.  
  3831.                 - There's a switch now to specify whether you want overlaid
  3832.                   documents loaded using the top-left corner or the cursor
  3833.                   position as origin.
  3834.                   (Suggested by Alex May.)
  3835.  
  3836.                 - ARexx command for block selection:  SelectBlock.  Small
  3837.                   oversight, don't you think?
  3838.  
  3839.                 - Ability to save to file a blocked area, via menu and
  3840.                   ARexx.
  3841.                   (Suggested by Alex May.)
  3842.  
  3843.                 - Reopen Document menu item.
  3844.  
  3845.                 Deletions:
  3846.  
  3847.                 - The ToolTypes (and command-line options) NOPOPPUB and
  3848.                   NOSHANGHAI have been removed.
  3849.  
  3850.                 Changes:
  3851.  
  3852.                 - The Text panel and all the settings panels are now
  3853.                   non-blocking windows.
  3854.  
  3855.                 - If a custom screen is opened, the global flags SHANGHAI
  3856.                   and POPPUBSCREEN are automatically set.
  3857.  
  3858.                 - Fixed some typographical and spelling errors in the
  3859.                   program, documentation, and AmigaGuide(tm) file.  Also
  3860.                   fixed some hypertext errors in the AmigaGuide file.
  3861.  
  3862.                 - Removed '%p' from default status line, since it doesn't
  3863.                   do anything (it did in an alpha version).
  3864.  
  3865.                 - Luminus' online-help always attempted to open on the
  3866.                   public screen "LUMINUS", whether it was open or not.  It
  3867.                   now will try to open on the public screen specified in
  3868.                   Public Screen in the Document Settings panel.
  3869.  
  3870.                 - 'Overlay...' now works for all editing modes, not just
  3871.                   Animation mode.
  3872.  
  3873.                 - Character Set window is now sizeable, so you can display
  3874.                   any number of characters in the character set.
  3875.                   (Suggested by Patrick Gern.)
  3876.  
  3877.                 - Compiled with the shiny new SAS/C 6.56 Compiler.
  3878.  
  3879.                 - Luminus is no longer compiled with optimization, since
  3880.                   there was never a noticeable difference in size or speed
  3881.                   between optimized and non-optimized executables.  Besides,
  3882.                   I think the optimized code was generating Enforcer hits,
  3883.                   which is a bad thing.
  3884.  
  3885. 0.1 23 Oct 1995 - First beta release.  Wheeee! :)
  3886.